gov.virginia.dcjs.identity.saml
Class EncryptedElementType

java.lang.Object
  extended bygov.virginia.dcjs.ws.Element
      extended bygov.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, 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
 
Constructor Summary
EncryptedElementType(java.lang.String elementName, EncryptedData data)
           
 
Method Summary
 void addEncryptedKey(EncryptedKey key)
           
 
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
 
Methods inherited from interface gov.virginia.dcjs.ws.XmlElement
declareNamespaces, getNamespaces, toXml
 

Field Detail

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
Constructor Detail

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.
Method Detail

addEncryptedKey

public void addEncryptedKey(EncryptedKey key)
Parameters:
key - Encrypted key element to add to this type.