gov.virginia.dcjs.identity.saml
Class EncryptedElementType
java.lang.Object
gov.virginia.dcjs.ws.Element
gov.virginia.dcjs.identity.saml.EncryptedElementType
- All Implemented Interfaces:
- AttributeType, NameIDType, org.apache.soap.util.xml.Serializer, XmlElement
- public class EncryptedElementType
- extends Element
- implements NameIDType, AttributeType
Class representation for encrypted tag elements like:
* - EncryptedID
* - NewEncryptedID
* - EncryptedAssertion
* - EncryptedAttribute
*
* EncryptedID, EncryptedAssertion and EncryptedAttribute elements
* are created simply by passing the appropriate tag name to
* this class' constructor.
|
Field Summary |
static java.lang.String |
ASSERTION
Instantiate an EncryptedAssertion element |
static java.lang.String |
ATTRIBUTE
Instantiate an EncryptedAttribute element |
static java.lang.String |
ID
Instantiate an EncryptedID element |
static java.lang.String |
NEW
Instantiate a NewEncryptedID element |
| Fields inherited from interface gov.virginia.dcjs.identity.saml.NameIDType |
EMAIL, ENCRYPTED, ENTITY, FORMAT1_BASE, FORMAT2_BASE, KERBEROS, PERSISTENT, TRANSIENT, UNSPECIFIED, WINDOWS, X509SUBJECT |
| Methods inherited from class gov.virginia.dcjs.ws.Element |
addAttribute, addElement, arrayAppend, declareNamespaces, getNamespaces, marshall, removeAttribute, removeElement, setContent, toString, toXml |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ID
public static final java.lang.String ID
- Instantiate an
EncryptedID element
- See Also:
- Constant Field Values
NEW
public static final java.lang.String NEW
- Instantiate a
NewEncryptedID element
- See Also:
- Constant Field Values
ASSERTION
public static final java.lang.String ASSERTION
- Instantiate an
EncryptedAssertion element
- See Also:
- Constant Field Values
ATTRIBUTE
public static final java.lang.String ATTRIBUTE
- Instantiate an
EncryptedAttribute element
- See Also:
- Constant Field Values
EncryptedElementType
public EncryptedElementType(java.lang.String elementName,
EncryptedData data)
- Parameters:
elementName - Element tag name for this type. One of this class'
* constants {ID, NEW, ASSERTION, ATTRIBUTE}.
* @param data Encrypted Data element.
addEncryptedKey
public void addEncryptedKey(EncryptedKey key)
- Parameters:
key - Encrypted key element to add to this type.