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 of X509Certificate.
  • Field Details

    • B64_CERT_STORE

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

      private static final Cleaner CLEANER
      The Cleaner instance to use.
    • cleanable

      private Cleaner.Cleanable cleanable
      The Cleaner.Cleanable representing the current instance's cert value, as represented by the current b64CertIndex field value.
    • b64CertIndex

      private String b64CertIndex
      Index to a stored Base64 encoded cert.
  • Constructor Details

    • 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 Details

    • getValue

      public String getValue()
      Gets the base64-encoded binary value.
      Specified by:
      getValue in interface XSBase64Binary
      Returns:
      the string, or null
    • 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