com.sun.identity.saml2.protocol
Interface NewEncryptedID

All Superinterfaces:
EncryptedElement

public interface NewEncryptedID
extends EncryptedElement

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
 NewID decrypt(Key recipientPrivateKey)
          Returns an instance of NewID object.
 
Methods inherited from interface com.sun.identity.saml2.assertion.EncryptedElement
toXMLString, toXMLString
 

Method Detail

decrypt

NewID decrypt(Key recipientPrivateKey)
              throws SAML2Exception
Returns an instance of NewID object.

Parameters:
recipientPrivateKey - Private key of the recipient used to decrypt the secret key
Returns:
NewID object.
Throws:
SAML2Exception - if error occurs.