|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.AbstractXMLObject org.opensaml.xml.validation.AbstractValidatingXMLObject org.opensaml.common.impl.AbstractSAMLObject org.opensaml.saml2.metadata.impl.KeyDescriptorImpl
public class KeyDescriptorImpl
Concrete implementation of KeyDescriptor
.
Field Summary | |
---|---|
private XMLObjectChildrenList<EncryptionMethod> |
encryptionMethods
Encryption methods supported by the entity. |
private KeyInfo |
keyInfo
Key information. |
private UsageType |
keyUseType
Key usage type. |
Fields inherited from interface org.opensaml.saml2.metadata.KeyDescriptor |
---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME, USE_ATTRIB_NAME |
Constructor Summary | |
---|---|
protected |
KeyDescriptorImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
List<EncryptionMethod> |
getEncryptionMethods()
Gets the encryption methods that are supported by the entity. |
KeyInfo |
getKeyInfo()
Gets information about the key, including the key itself. |
List<XMLObject> |
getOrderedChildren()
|
UsageType |
getUse()
Gets the use of this key. |
void |
setKeyInfo(KeyInfo newKeyInfo)
Sets information about the key, including the key itself. |
void |
setUse(UsageType newType)
Sets the use of this key. |
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
---|
equals, prepareForAssignment |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Field Detail |
---|
private UsageType keyUseType
private KeyInfo keyInfo
private final XMLObjectChildrenList<EncryptionMethod> encryptionMethods
Constructor Detail |
---|
protected KeyDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespaceMethod Detail |
---|
public UsageType getUse()
getUse
in interface KeyDescriptor
public void setUse(UsageType newType)
setUse
in interface KeyDescriptor
newType
- the use of this keypublic KeyInfo getKeyInfo()
getKeyInfo
in interface KeyDescriptor
public void setKeyInfo(KeyInfo newKeyInfo)
setKeyInfo
in interface KeyDescriptor
newKeyInfo
- information about the key, including the key itselfpublic List<EncryptionMethod> getEncryptionMethods()
getEncryptionMethods
in interface KeyDescriptor
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |