org.opensaml.saml2.metadata
Interface KeyDescriptor

All Superinterfaces:
SAMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
All Known Implementing Classes:
KeyDescriptorImpl

public interface KeyDescriptor
extends SAMLObject


Field Summary
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Element name, no namespace
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type
static java.lang.String USE_ATTRIB_NAME
          "use" attribute's local name
 
Method Summary
 java.util.List<EncryptionMethod> getEncryptionMethods()
          Gets the encryption methods that are supported by the entity.
 org.opensaml.xml.signature.KeyInfo getKeyInfo()
          Gets information about the key, including the key itself.
 org.opensaml.xml.security.credential.UsageType getUse()
          Gets the use of this key.
 void setKeyInfo(org.opensaml.xml.signature.KeyInfo newKeyInfo)
          Sets information about the key, including the key itself.
 void setUse(org.opensaml.xml.security.credential.UsageType newType)
          Sets the use of this key.
 
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, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type


USE_ATTRIB_NAME

static final java.lang.String USE_ATTRIB_NAME
"use" attribute's local name

See Also:
Constant Field Values
Method Detail

getUse

org.opensaml.xml.security.credential.UsageType getUse()
Gets the use of this key.

Returns:
the use of this key

setUse

void setUse(org.opensaml.xml.security.credential.UsageType newType)
Sets the use of this key.

Parameters:
newType - the use of this key

getKeyInfo

org.opensaml.xml.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.xml.signature.KeyInfo newKeyInfo)
Sets information about the key, including the key itself.

Parameters:
newKeyInfo - information about the key, including the key itself

getEncryptionMethods

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

Returns:
the encryption methods that are supported by the entity


Copyright © 2006-2012 Internet2. All Rights Reserved.