Skip navigation links

Oracle Fusion Middleware Liberty 1.1 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10670-03


oracle.security.xmlsec.liberty.v11.ac
Class KeyStorage

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.liberty.v11.ac.ACElement
              extended by oracle.security.xmlsec.liberty.v11.ac.KeyStorage


public class KeyStorage
extends ACElement

Class representing the KeyStorage element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).

Since:
1.0

Field Summary
static java.lang.String MEMORY
          The enumerated "memory" value for the KeyStorage element's medium attribute.
static java.lang.String MOBILE_AUTH_CARD
          The enumerated "MobileAuthCard" value for the KeyStorage element's medium attribute.
static java.lang.String SMARTCARD
          The enumerated "smartcard" value for the KeyStorage element's medium attribute.
static java.lang.String TOKEN
          The enumerated "token" value for the KeyStorage element's medium attribute.

 

Fields inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement
authenticationContextClass

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
KeyStorage(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
          Creates a new KeyStorage instance in the given document with the given authentication context.
KeyStorage(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String medium)
          Creates a new KeyStorage instance in the given document with the given authentication context.
KeyStorage(org.w3c.dom.Element element, AuthenticationContextStatement acs)
          Creates a new KeyStorage object that wraps the given Element object.
KeyStorage(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
          Creates a new KeyStorage object that wraps the given Element object.

 

Method Summary
 java.lang.String getMedium()
          Returns the medium attribute for this Generation element, or null if none has been set.
 void setMedium(java.lang.String medium)
          Sets the medium attribute for this KeyStorage element.

 

Methods inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement
getAuthenticationContextClass, setAuthenticationContextClass

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

MEMORY

public static final java.lang.String MEMORY
The enumerated "memory" value for the KeyStorage element's medium attribute.
See Also:
Constant Field Values

SMARTCARD

public static final java.lang.String SMARTCARD
The enumerated "smartcard" value for the KeyStorage element's medium attribute.
See Also:
Constant Field Values

TOKEN

public static final java.lang.String TOKEN
The enumerated "token" value for the KeyStorage element's medium attribute.
See Also:
Constant Field Values

MOBILE_AUTH_CARD

public static final java.lang.String MOBILE_AUTH_CARD
The enumerated "MobileAuthCard" value for the KeyStorage element's medium attribute.
See Also:
Constant Field Values

Constructor Detail

KeyStorage

public KeyStorage(org.w3c.dom.Element element,
                  AuthenticationContextStatement acs)
Creates a new KeyStorage object that wraps the given Element object.
Parameters:
element - The underlying org.w3c.dom.Element object.
acs - The authentication context for the element.

KeyStorage

public KeyStorage(org.w3c.dom.Element element,
                  java.lang.String systemId,
                  AuthenticationContextStatement acs)
Creates a new KeyStorage object that wraps the given Element object.
Parameters:
element - The underlying org.w3c.dom.Element object.
systemId - The URI string system ID for the KeyStorage.
acs - The authentication context for the element.

KeyStorage

public KeyStorage(org.w3c.dom.Document owner,
                  AuthenticationContextStatement acs)
Creates a new KeyStorage instance in the given document with the given authentication context.
Parameters:
owner - The owner document for this new element.
acs - The authentication context for this new element.

KeyStorage

public KeyStorage(org.w3c.dom.Document owner,
                  AuthenticationContextStatement acs,
                  java.lang.String medium)
           throws AuthenticationContextException
Creates a new KeyStorage instance in the given document with the given authentication context.
Parameters:
owner - The owner document for this new element.
acs - The authentication context for this new element.
medium - The medium attribute.
Throws:
AuthenticationContextException - If the medium value is invalid for this element's authentication context class.

Method Detail

setMedium

public void setMedium(java.lang.String medium)
               throws AuthenticationContextException
Sets the medium attribute for this KeyStorage element.
Parameters:
medium - The attribute value.
Throws:
AuthenticationContextException - If the medium value is invalid for this element's authentication context class.

getMedium

public java.lang.String getMedium()
Returns the medium attribute for this Generation element, or null if none has been set.

Skip navigation links

Oracle Fusion Middleware Liberty 1.1 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10670-03


Copyright © 2005, 2011 , Oracle. All rights reserved.