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 classThe 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 StringIndex to a stored Base64 encoded cert.private Cleaner.CleanableTheCleaner.Cleanablerepresenting the current instance's cert value, as represented by the currentb64CertIndexfield value.private static final CleanerTheCleanerinstance to use.Fields inherited from interface org.opensaml.xmlsec.signature.X509Certificate
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAMEFields inherited from interface org.opensaml.core.xml.schema.XSBase64Binary
TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedX509CertificateImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
TheCleanerinstance to use. -
cleanable
TheCleaner.Cleanablerepresenting the current instance's cert value, as represented by the currentb64CertIndexfield value. -
b64CertIndex
Index to a stored Base64 encoded cert.
-
-
Constructor Details
-
X509CertificateImpl
protected X509CertificateImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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 Details
-
getValue
Gets the base64-encoded binary value.- Specified by:
getValuein interfaceXSBase64Binary- Returns:
- the string, or null
-
setValue
Sets the base64-encoded binary value.- Specified by:
setValuein 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-