Class X509CertificateImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.impl.X509CertificateImpl
- All Implemented Interfaces:
XSBase64Binary
,XMLObject
,X509Certificate
Concrete implementation of
X509Certificate
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
The action to be taken when the current state must be cleaned. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final IndexingObjectStore<String>
Class-level index of Base64 encoded cert values.private String
Index to a stored Base64 encoded cert.private Cleaner.Cleanable
TheCleaner.Cleanable
representing the current instance's cert value, as represented by the currentb64CertIndex
field value.private static final Cleaner
TheCleaner
instance 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
ConstructorsModifierConstructorDescriptionprotected
X509CertificateImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
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 Details
-
B64_CERT_STORE
Class-level index of Base64 encoded cert values. -
CLEANER
TheCleaner
instance to use. -
cleanable
TheCleaner.Cleanable
representing the current instance's cert value, as represented by the currentb64CertIndex
field value. -
b64CertIndex
Index to a stored Base64 encoded cert.
-
-
Constructor Details
-
X509CertificateImpl
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 Details
-
getValue
Gets the base64-encoded binary value.- Specified by:
getValue
in interfaceXSBase64Binary
- Returns:
- the string, or null
-
setValue
Sets the base64-encoded binary value.- Specified by:
setValue
in interfaceXSBase64Binary
- Parameters:
newValue
- the string value
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-