Class X509CertificateImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.schema.XSBase64Binary, org.opensaml.core.xml.XMLObject, org.opensaml.xmlsec.signature.X509Certificate

    public class X509CertificateImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.xmlsec.signature.X509Certificate
    Concrete implementation of X509Certificate.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  X509CertificateImpl.CleanerState
      The action to be taken when the current state must be cleaned.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static net.shibboleth.utilities.java.support.collection.IndexingObjectStore<String> B64_CERT_STORE
      Class-level index of Base64 encoded cert values.
      private String b64CertIndex
      Index to a stored Base64 encoded cert.
      private Cleaner.Cleanable cleanable
      The Cleaner.Cleanable representing the current instance's cert value, as represented by the current b64CertIndex field value.
      private static Cleaner CLEANER
      The Cleaner 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getValue()
      void setValue​(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 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 net.shibboleth.utilities.java.support.collection.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 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()
        Specified by:
        getValue in interface org.opensaml.core.xml.schema.XSBase64Binary
      • setValue

        public void setValue​(String newValue)
        Specified by:
        setValue in interface org.opensaml.core.xml.schema.XSBase64Binary
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject