Class XMLX509Certificate

    • Field Detail

      • JCA_CERT_ID

        public static final java.lang.String JCA_CERT_ID
        Field JCA_CERT_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLX509Certificate

        public XMLX509Certificate​(org.w3c.dom.Element element,
                                  java.lang.String baseURI)
                           throws XMLSecurityException
        Constructor X509Certificate
        Parameters:
        element -
        baseURI -
        Throws:
        XMLSecurityException
      • XMLX509Certificate

        public XMLX509Certificate​(org.w3c.dom.Document doc,
                                  byte[] certificateBytes)
        Constructor X509Certificate
        Parameters:
        doc -
        certificateBytes -
      • XMLX509Certificate

        public XMLX509Certificate​(org.w3c.dom.Document doc,
                                  java.security.cert.X509Certificate x509certificate)
                           throws XMLSecurityException
        Constructor XMLX509Certificate
        Parameters:
        doc -
        x509certificate -
        Throws:
        XMLSecurityException
    • Method Detail

      • getPublicKey

        public java.security.PublicKey getPublicKey()
                                             throws XMLSecurityException,
                                                    java.io.IOException
        Method getPublicKey
        Returns:
        the publickey
        Throws:
        XMLSecurityException
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getBaseLocalName

        public java.lang.String getBaseLocalName()
        Returns the localname of the Elements of the sub-class.
        Specified by:
        getBaseLocalName in class ElementProxy
        Returns:
        the localname of the Elements of the sub-class.