Class KeyDescriptorImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.saml2.metadata.impl.KeyDescriptorImpl
-
- All Implemented Interfaces:
org.opensaml.core.xml.XMLObject,org.opensaml.saml.common.SAMLObject,org.opensaml.saml.saml2.metadata.KeyDescriptor
public class KeyDescriptorImpl extends org.opensaml.core.xml.AbstractXMLObject implements org.opensaml.saml.saml2.metadata.KeyDescriptorConcrete implementation ofKeyDescriptor.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.EncryptionMethod>encryptionMethodsEncryption methods supported by the entity.private org.opensaml.xmlsec.signature.KeyInfokeyInfoKey information.private org.opensaml.security.credential.UsageTypekeyUseTypeKey usage type.
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeyDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.opensaml.saml.saml2.metadata.EncryptionMethod>getEncryptionMethods()org.opensaml.xmlsec.signature.KeyInfogetKeyInfo()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()org.opensaml.security.credential.UsageTypegetUse()voidsetKeyInfo(org.opensaml.xmlsec.signature.KeyInfo newKeyInfo)voidsetUse(org.opensaml.security.credential.UsageType 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
-
keyUseType
private org.opensaml.security.credential.UsageType keyUseType
Key usage type.
-
keyInfo
private org.opensaml.xmlsec.signature.KeyInfo keyInfo
Key information.
-
encryptionMethods
private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.EncryptionMethod> encryptionMethods
Encryption methods supported by the entity.
-
-
Constructor Detail
-
KeyDescriptorImpl
protected KeyDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getUse
public org.opensaml.security.credential.UsageType getUse()
- Specified by:
getUsein interfaceorg.opensaml.saml.saml2.metadata.KeyDescriptor
-
setUse
public void setUse(org.opensaml.security.credential.UsageType newType)
- Specified by:
setUsein interfaceorg.opensaml.saml.saml2.metadata.KeyDescriptor
-
getKeyInfo
public org.opensaml.xmlsec.signature.KeyInfo getKeyInfo()
- Specified by:
getKeyInfoin interfaceorg.opensaml.saml.saml2.metadata.KeyDescriptor
-
setKeyInfo
public void setKeyInfo(org.opensaml.xmlsec.signature.KeyInfo newKeyInfo)
- Specified by:
setKeyInfoin interfaceorg.opensaml.saml.saml2.metadata.KeyDescriptor
-
getEncryptionMethods
public List<org.opensaml.saml.saml2.metadata.EncryptionMethod> getEncryptionMethods()
- Specified by:
getEncryptionMethodsin interfaceorg.opensaml.saml.saml2.metadata.KeyDescriptor
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-