Class EncryptedTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.encryption.impl.EncryptedTypeImpl
-
- All Implemented Interfaces:
XMLObject,EncryptedType
- Direct Known Subclasses:
EncryptedDataImpl,EncryptedKeyImpl
public abstract class EncryptedTypeImpl extends AbstractXMLObject implements EncryptedType
Abstract implementation ofEncryptedType.
-
-
Field Summary
Fields Modifier and Type Field Description private CipherDatacipherDataCipherData child element.private StringencodingEncoding attribute value.private EncryptionMethodencryptionMethodEncryptionMethod child element.private EncryptionPropertiesencryptionPropertiesEncryptionProperties child element.private Stringidid attribute value.private KeyInfokeyInfoEncryptionMethod child element.private StringmimeTypeMimeType attribute value.private StringtypeType attribute value.-
Fields inherited from interface org.opensaml.xmlsec.encryption.EncryptedType
ENCODING_ATTRIB_NAME, ID_ATTRIB_NAME, MIMETYPE_ATTRIB_NAME, TYPE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncryptedTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipherDatagetCipherData()StringgetEncoding()EncryptionMethodgetEncryptionMethod()EncryptionPropertiesgetEncryptionProperties()StringgetID()KeyInfogetKeyInfo()StringgetMimeType()List<XMLObject>getOrderedChildren()StringgetType()voidsetCipherData(CipherData newCipherData)voidsetEncoding(String newEncoding)voidsetEncryptionMethod(EncryptionMethod newEncryptionMethod)voidsetEncryptionProperties(EncryptionProperties newEncryptionProperties)voidsetID(String newID)voidsetKeyInfo(KeyInfo newKeyInfo)voidsetMimeType(String newMimeType)voidsetType(String newType)-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
id
private String id
id attribute value.
-
type
private String type
Type attribute value.
-
mimeType
private String mimeType
MimeType attribute value.
-
encoding
private String encoding
Encoding attribute value.
-
encryptionMethod
private EncryptionMethod encryptionMethod
EncryptionMethod child element.
-
keyInfo
private KeyInfo keyInfo
EncryptionMethod child element.
-
cipherData
private CipherData cipherData
CipherData child element.
-
encryptionProperties
private EncryptionProperties encryptionProperties
EncryptionProperties child element.
-
-
Method Detail
-
getID
public String getID()
- Specified by:
getIDin interfaceEncryptedType
-
setID
public void setID(String newID)
- Specified by:
setIDin interfaceEncryptedType
-
getType
public String getType()
- Specified by:
getTypein interfaceEncryptedType
-
setType
public void setType(String newType)
- Specified by:
setTypein interfaceEncryptedType
-
getMimeType
public String getMimeType()
- Specified by:
getMimeTypein interfaceEncryptedType
-
setMimeType
public void setMimeType(String newMimeType)
- Specified by:
setMimeTypein interfaceEncryptedType
-
getEncoding
public String getEncoding()
- Specified by:
getEncodingin interfaceEncryptedType
-
setEncoding
public void setEncoding(String newEncoding)
- Specified by:
setEncodingin interfaceEncryptedType
-
getEncryptionMethod
public EncryptionMethod getEncryptionMethod()
- Specified by:
getEncryptionMethodin interfaceEncryptedType
-
setEncryptionMethod
public void setEncryptionMethod(EncryptionMethod newEncryptionMethod)
- Specified by:
setEncryptionMethodin interfaceEncryptedType
-
getKeyInfo
public KeyInfo getKeyInfo()
- Specified by:
getKeyInfoin interfaceEncryptedType
-
setKeyInfo
public void setKeyInfo(KeyInfo newKeyInfo)
- Specified by:
setKeyInfoin interfaceEncryptedType
-
getCipherData
public CipherData getCipherData()
- Specified by:
getCipherDatain interfaceEncryptedType
-
setCipherData
public void setCipherData(CipherData newCipherData)
- Specified by:
setCipherDatain interfaceEncryptedType
-
getEncryptionProperties
public EncryptionProperties getEncryptionProperties()
- Specified by:
getEncryptionPropertiesin interfaceEncryptedType
-
setEncryptionProperties
public void setEncryptionProperties(EncryptionProperties newEncryptionProperties)
- Specified by:
setEncryptionPropertiesin interfaceEncryptedType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-