com.sun.identity.saml2.assertion
Interface EncryptedAssertion
- All Superinterfaces:
- EncryptedElement
- public interface EncryptedAssertion
- extends EncryptedElement
The EncryptedAssertion represents an assertion in
encrypted fashion, as defined by the XML Encryption Syntax and
Processing specification [XMLEnc]. The EncryptedAssertion contains
an EncryptedData and zero or more
EncryptedKeys.
|
Method Summary |
Assertion |
decrypt(java.security.Key recipientPrivateKey)
Decrypt the encrypted assertion. |
decrypt
public Assertion decrypt(java.security.Key recipientPrivateKey)
throws SAML2Exception
- Decrypt the encrypted assertion.
- Parameters:
recipientPrivateKey - Private key of the recipient used to
decrypt the secret key
- Returns:
- an assertion that is decrypted from this object
- Throws:
SAML2Exception - if it could not decrypt the assertion properly.
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.