Package com.sun.identity.saml2.protocol
Interface NewEncryptedID
- All Superinterfaces:
EncryptedElement,XmlSerializable
Java content class for NewEncryptedID element declaration.
The following schema fragment specifies the expected content contained within this java content object.
<element name="NewEncryptedID" type="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedElementType"/>
-
Method Summary
Modifier and TypeMethodDescriptiondecrypt(Set<PrivateKey> privateKeys) Returns an instance ofNewIDobject.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
decrypt
Returns an instance ofNewIDobject.- Parameters:
privateKeys- Private keys of the recipient used to decrypt the secret key.- Returns:
NewIDobject.- Throws:
SAML2Exception- if error occurs.
-