Interface KeyDescriptor

  • All Superinterfaces:
    SAMLObject, org.opensaml.core.xml.XMLObject

    public interface KeyDescriptor
    extends SAMLObject
    SAML 2.0 Metadata KeyDescriptor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<EncryptionMethod> getEncryptionMethods()
      Gets the encryption methods that are supported by the entity.
      org.opensaml.xmlsec.signature.KeyInfo getKeyInfo()
      Gets information about the key, including the key itself.
      org.opensaml.security.credential.UsageType getUse()
      Gets the use of this key.
      void setKeyInfo​(org.opensaml.xmlsec.signature.KeyInfo newKeyInfo)
      Sets information about the key, including the key itself.
      void setUse​(org.opensaml.security.credential.UsageType newType)
      Sets the use of this key.
      • 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 name, no namespace.
        See Also:
        Constant Field Values
      • DEFAULT_ELEMENT_NAME

        static final QName DEFAULT_ELEMENT_NAME
        Default element name.
      • TYPE_NAME

        static final QName TYPE_NAME
        QName of the XSI type.
    • Method Detail

      • getUse

        org.opensaml.security.credential.UsageType getUse()
        Gets the use of this key.
        Returns:
        the use of this key
      • setUse

        void setUse​(org.opensaml.security.credential.UsageType newType)
        Sets the use of this key.
        Parameters:
        newType - the use of this key
      • getKeyInfo

        org.opensaml.xmlsec.signature.KeyInfo getKeyInfo()
        Gets information about the key, including the key itself.
        Returns:
        information about the key, including the key itself
      • setKeyInfo

        void setKeyInfo​(org.opensaml.xmlsec.signature.KeyInfo newKeyInfo)
        Sets information about the key, including the key itself.
        Parameters:
        newKeyInfo - information about the key, including the key itself
      • getEncryptionMethods

        List<EncryptionMethod> getEncryptionMethods()
        Gets the encryption methods that are supported by the entity.
        Returns:
        the encryption methods that are supported by the entity