|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface identifies the new identifier in an
ManageNameIDRequest message.
| Method Summary | |
NewEncryptedID |
encrypt(java.security.Key recipientPublicKey,
java.lang.String dataEncAlgorithm,
int dataEncStrength,
java.lang.String recipientEntityID)
Returns an NewEncryptedID object. |
java.lang.String |
getValue()
Returns the value of the NewID URI. |
java.lang.String |
toXMLString()
Returns a String representation of this Object. |
java.lang.String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation of this Object. |
| Method Detail |
public java.lang.String getValue()
NewID URI.
NewID URI.
public java.lang.String toXMLString()
throws SAML2Exception
SAML2Exception - if cannot convert to String.
public java.lang.String toXMLString(boolean includeNSPrefix,
boolean declareNS)
throws SAML2Exception
includeNSPrefix - determines whether or not the namespace
qualifier is prepended to the Element when converteddeclareNS - determines whether or not the namespace is declared
within the Element.
SAML2Exception - if cannot convert to String.
public NewEncryptedID encrypt(java.security.Key recipientPublicKey,
java.lang.String dataEncAlgorithm,
int dataEncStrength,
java.lang.String recipientEntityID)
throws SAML2Exception
NewEncryptedID object.
recipientPublicKey - Public key used to encrypt the data encryption
(secret) key, it is the public key of the
recipient of the XML document to be encrypted.dataEncAlgorithm - Data encryption algorithm.dataEncStrength - Data encryption strength.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.
NewEncryptedID object
SAML2Exception - if error occurs during the encryption process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||