org.opensaml.xml.signature.impl
Class X509CertificateImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.signature.impl.X509CertificateImpl
All Implemented Interfaces:
XSBase64Binary, X509Certificate, ValidatingXMLObject, XMLObject

public class X509CertificateImpl
extends AbstractValidatingXMLObject
implements X509Certificate

Concrete implementation of X509Certificate.


Field Summary
private static IndexingObjectStore<String> B64_CERT_STORE
          Class-level index of Base64 encoded cert values.
private  String b64CertIndex
          Index to a stored Base64 encoded cert.
 
Fields inherited from interface org.opensaml.xml.signature.X509Certificate
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME
 
Fields inherited from interface org.opensaml.xml.schema.XSBase64Binary
TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected X509CertificateImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
protected  void finalize()
          
 List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 String getValue()
          Gets the base64-encoded binary value.
 void setValue(String newValue)
          Sets the base64-encoded binary value.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, 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

B64_CERT_STORE

private static final IndexingObjectStore<String> B64_CERT_STORE
Class-level index of Base64 encoded cert values.


b64CertIndex

private String b64CertIndex
Index to a stored Base64 encoded cert.

Constructor Detail

X509CertificateImpl

protected X509CertificateImpl(String namespaceURI,
                              String elementLocalName,
                              String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getValue

public String getValue()
Gets the base64-encoded binary value.

Specified by:
getValue in interface XSBase64Binary
Returns:
the string

setValue

public void setValue(String newValue)
Sets the base64-encoded binary value.

Specified by:
setValue in interface XSBase64Binary
Parameters:
newValue - the string value

getOrderedChildren

public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.

Specified by:
getOrderedChildren in interface XMLObject
Returns:
ordered list of child elements

finalize

protected void finalize()
                 throws Throwable

Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 1999-2013. All Rights Reserved.