|
Oracle Security Developer Tools SAML 2.0 Java API Reference 10g (10.1.4.0.1) B28174-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml2.core.EncryptedElement
oracle.security.xmlsec.saml2.core.EncryptedAssertion
Represents an encrypted assertion.
Field Summary |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
node, systemId |
Constructor Summary | |
EncryptedAssertion(org.w3c.dom.Document owner) Creates a new EncryptedAssertion instance. |
|
EncryptedAssertion(org.w3c.dom.Element element) Creates a new EncryptedAssertion instance from the given Element node. |
|
EncryptedAssertion(org.w3c.dom.Element element, java.lang.String systemId) Creates a new EncryptedAssertion instance from the given Element node. |
Method Summary | |
oracle.security.xmlsec.enc.XEEncryptedData |
encryptAssertion(Assertion assertion, java.lang.String dataEncAlg, oracle.security.crypto.core.SymmetricKey dataEncKey, java.lang.String dataEncKeyName) Encrypt the Assertion Element with the given algorithm and content encryption key, where the key is identified by a key name. |
oracle.security.xmlsec.enc.XEEncryptedData |
encryptAssertion(Assertion assertion, java.lang.String dataEncAlg, oracle.security.crypto.core.SymmetricKey dataEncKey, java.lang.String keyEncAlg, oracle.security.crypto.core.Key keyEncKey, java.lang.String keyEncKeyName) Encrypt XML data of type XML Element or XML Element Content with the given algorithm and key, where the data encryption key is encrypted with the given key encryption key. |
Methods inherited from class oracle.security.xmlsec.saml2.core.EncryptedElement |
addEncryptedKey, decryptElement, encryptElement, encryptElement, getEncryptedData, getEncryptedKeys, removeChildren, setEncryptedData |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncryptedAssertion(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
EncryptedAssertion
instance from the given Element node.element
- A EncryptedAssertion element.org.w3c.dom.DOMException
public EncryptedAssertion(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
EncryptedAssertion
instance from the given Element node.element
- A EncryptedAssertion element.systemId
- The URI string system ID for the EncryptedAssertion
.org.w3c.dom.DOMException
public EncryptedAssertion(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
EncryptedAssertion
instance.owner
- The owner document of the new EncryptedAssertion.org.w3c.dom.DOMException
Method Detail |
public oracle.security.xmlsec.enc.XEEncryptedData encryptAssertion(Assertion assertion, java.lang.String dataEncAlg, oracle.security.crypto.core.SymmetricKey dataEncKey, java.lang.String dataEncKeyName) throws oracle.security.xmlsec.enc.XEException
Assertion
Element with the given algorithm and content encryption key, where the key is identified by a key name.
The supported data encrytion algorithms are:
Triple DES
AES-128
AES-192
AES-256
assertion
- The assertion to encrypt.dataEncAlg
- The URI identifying the data encryption algorithm.dataEncKey
- The data encryption key. If null
, a encryption key will be randomly generated.dataEncKeyName
- The name identifying the data encryption key, optional.XEEncryptedData
which replaces the nameID element.oracle.security.xmlsec.enc.XEException
- If an error occurs in encrypting the data.public oracle.security.xmlsec.enc.XEEncryptedData encryptAssertion(Assertion assertion, java.lang.String dataEncAlg, oracle.security.crypto.core.SymmetricKey dataEncKey, java.lang.String keyEncAlg, oracle.security.crypto.core.Key keyEncKey, java.lang.String keyEncKeyName) throws oracle.security.xmlsec.enc.XEException
The supported data encrytion algorithms are:
Triple DES
AES-128
AES-192
AES-256
The supported key encrytion algorithms are:
RSA v1.5
RSA-OAEP with MGF1
TripleDES Key Wrap
AES-128 Key Wrap
AES-192 Key Wrap
AES-256 Key Wrap
For RSA-OAEP, the following parameters are used:
SHA-1
assertion
- The assertion to encrypt.dataEncAlg
- The URI identifying the data encryption algorithm.dataEncKey
- The data encryption key. If null
, a encryption key will be randomly generated.keyEncAlg
- The URI identifying the key encryption algorithm.keyEncKey
- The key encryption key.keyEncKeyName
- The name identifying the key encryption key, optional.XEEncryptedData
which replaces the nameID element.oracle.security.xmlsec.enc.XEException
- If an error occurs in encrypting the data.
|
Oracle Security Developer Tools SAML 2.0 Java API Reference 10g (10.1.4.0.1) B28174-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |