public class EncryptedIDImpl extends EncryptedElementImpl implements EncryptedID
The following schema fragment specifies the expected content contained within this java content object.
<element name="EncryptedID" type="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedElementType"/>
Modifier and Type | Field and Description |
---|---|
String |
elementName |
xmlString
Constructor and Description |
---|
EncryptedIDImpl(Element element)
Class constructor with
EncryptedID in
Element format. |
EncryptedIDImpl(String xmlString)
Class constructor with
EncryptedID in xml string
format. |
Modifier and Type | Method and Description |
---|---|
NameID |
decrypt(Set<PrivateKey> privateKeys)
Decrypts the encrypted ID.
|
toXMLString, toXMLString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toXMLString, toXMLString
public final String elementName
public EncryptedIDImpl(Element element) throws SAML2Exception
EncryptedID
in
Element
format.SAML2Exception
public EncryptedIDImpl(String xmlString) throws SAML2Exception
EncryptedID
in xml string
format.SAML2Exception
public NameID decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception
EncryptedID
decrypt
in interface EncryptedID
privateKeys
- Private keys of the recipient used to decrypt the secret keyNameID
that is decrypted from this objectSAML2Exception
- if it could not decrypt the ID properly.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.