Package org.opensaml.xmlsec.encryption
Interface EncryptionMethod
-
- All Superinterfaces:
ElementExtensibleXMLObject
,XMLObject
public interface EncryptionMethod extends ElementExtensibleXMLObject
XMLObject representing XML Encryption, version 20021210, EncryptionMethod element.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALGORITHM_ATTRIB_NAME
Algorithm attribute name.static String
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.static QName
DEFAULT_ELEMENT_NAME
Default element name.static String
TYPE_LOCAL_NAME
Local name of the XSI type.static QName
TYPE_NAME
QName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAlgorithm()
Gets the algorithm URI attribute used in this EncryptionMethod.KeySize
getKeySize()
Gets the KeySize child element.OAEPparams
getOAEPparams()
Gets the OAEPparams child element.void
setAlgorithm(String newAlgorithm)
Sets the algorithm URI attribute used in this EncryptionMethod.void
setKeySize(KeySize newKeySize)
Sets the KeySize child element.void
setOAEPparams(OAEPparams newOAEPparams)
Sets the OAEPparams child element.-
Methods inherited from interface org.opensaml.core.xml.ElementExtensibleXMLObject
getUnknownXMLObjects, getUnknownXMLObjects
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
ALGORITHM_ATTRIB_NAME
static final String ALGORITHM_ATTRIB_NAME
Algorithm attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAlgorithm
@Nullable String getAlgorithm()
Gets the algorithm URI attribute used in this EncryptionMethod.- Returns:
- the Algorithm attribute URI attribute string
-
setAlgorithm
void setAlgorithm(@Nullable String newAlgorithm)
Sets the algorithm URI attribute used in this EncryptionMethod.- Parameters:
newAlgorithm
- the new Algorithm URI attribute string
-
getKeySize
@Nullable KeySize getKeySize()
Gets the KeySize child element.- Returns:
- the KeySize child element
-
setKeySize
void setKeySize(@Nullable KeySize newKeySize)
Sets the KeySize child element.- Parameters:
newKeySize
- the new KeySize child element
-
getOAEPparams
@Nullable OAEPparams getOAEPparams()
Gets the OAEPparams child element.- Returns:
- the OAEPparams child element
-
setOAEPparams
void setOAEPparams(@Nullable OAEPparams newOAEPparams)
Sets the OAEPparams child element.- Parameters:
newOAEPparams
- the new OAEPparams child element
-
-