Class X509CertificateImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.impl.X509CertificateImpl
-
- All Implemented Interfaces:
XSBase64Binary,XMLObject,X509Certificate
public class X509CertificateImpl extends AbstractXMLObject implements X509Certificate
Concrete implementation ofX509Certificate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classX509CertificateImpl.CleanerStateThe action to be taken when the current state must be cleaned.
-
Field Summary
Fields Modifier and Type Field Description private static IndexingObjectStore<String>B64_CERT_STOREClass-level index of Base64 encoded cert values.private Stringb64CertIndexIndex to a stored Base64 encoded cert.private Cleaner.CleanablecleanableTheCleaner.Cleanablerepresenting the current instance's cert value, as represented by the currentb64CertIndexfield value.private static CleanerCLEANERTheCleanerinstance to use.-
Fields inherited from interface org.opensaml.xmlsec.signature.X509Certificate
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME
-
Fields inherited from interface org.opensaml.core.xml.schema.XSBase64Binary
TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedX509CertificateImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<XMLObject>getOrderedChildren()StringgetValue()voidsetValue(String newValue)-
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
-
B64_CERT_STORE
private static final IndexingObjectStore<String> B64_CERT_STORE
Class-level index of Base64 encoded cert values.
-
cleanable
private Cleaner.Cleanable cleanable
TheCleaner.Cleanablerepresenting the current instance's cert value, as represented by the currentb64CertIndexfield value.
-
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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getValue
public String getValue()
- Specified by:
getValuein interfaceXSBase64Binary
-
setValue
public void setValue(String newValue)
- Specified by:
setValuein interfaceXSBase64Binary
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-