Package com.sun.identity.saml2.protocol
Interface NewID
-
- All Superinterfaces:
XmlSerializable
@SupportedAll public interface NewID extends XmlSerializable
This interface identifies the new identifier in anManageNameIDRequestmessage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NewEncryptedIDencrypt(com.sun.identity.saml2.key.EncryptionConfig encryptionConfig, String recipientEntityID)Returns anNewEncryptedIDobject.StringgetValue()Returns the value of theNewIDURI.-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getValue
String getValue()
Returns the value of theNewIDURI.- Returns:
- value of the
NewIDURI.
-
encrypt
NewEncryptedID encrypt(com.sun.identity.saml2.key.EncryptionConfig encryptionConfig, String recipientEntityID) throws SAML2Exception
Returns anNewEncryptedIDobject.- Parameters:
encryptionConfig- The encryption config.recipientEntityID- Unique identifier of the recipient, it is used as the index to the cached secret key so that the key can be reused for the same recipient; It can be null in which case the secret key will be generated every time and will not be cached and reused. Note that the generation of a secret key is a relatively expensive operation.- Returns:
NewEncryptedIDobject- Throws:
SAML2Exception- if error occurs during the encryption process.
-
-