com.sun.identity.saml2.assertion
インタフェース EncryptedID

すべてのスーパーインタフェース:
EncryptedElement

public interface EncryptedID
extends EncryptedElement

The EncryptedID carries the content of an unencrypted identifier in encrypted fasion. It contains an EncryptedData and zero or more EncryptedKeys.


メソッドの概要
 NameID decrypt(Key recipientPrivateKey)
          Decrypts the encrypted ID.
 
インタフェース com.sun.identity.saml2.assertion.EncryptedElement から継承されたメソッド
toXMLString, toXMLString
 

メソッドの詳細

decrypt

NameID decrypt(Key recipientPrivateKey)
               throws SAML2Exception
Decrypts the encrypted ID.

パラメータ:
recipientPrivateKey - Private key of the recipient used to decrypt the secret key
戻り値:
a NameID that is decrypted from this object
例外:
SAML2Exception - if it could not decrypt the ID properly.