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 ofNewID
object.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
decrypt
Returns an instance ofNewID
object.- Parameters:
privateKeys
- Private keys of the recipient used to decrypt the secret key.- Returns:
NewID
object.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if error occurs.
-