Class XMLX509Certificate
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.keys.content.x509.XMLX509Certificate
- All Implemented Interfaces:
XMLX509DataContent
-
Field Summary
FieldsFields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG -
Constructor Summary
ConstructorsConstructorDescriptionXMLX509Certificate(Document doc, byte[] certificateBytes) Constructor X509CertificateXMLX509Certificate(Document doc, X509Certificate x509certificate) Constructor XMLX509CertificateXMLX509Certificate(Element element, String baseURI) Constructor X509Certificate -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the localname of the Elements of the sub-class.byte[]Method getCertificateBytesMethod getPublicKeyMethod getX509CertificateinthashCode()Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespaceMethods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
Field Details
-
JCA_CERT_ID
Field JCA_CERT_ID- See Also:
-
-
Constructor Details
-
XMLX509Certificate
Constructor X509Certificate- Parameters:
element-baseURI-- Throws:
XMLSecurityException
-
XMLX509Certificate
Constructor X509Certificate- Parameters:
doc-certificateBytes-
-
XMLX509Certificate
public XMLX509Certificate(Document doc, X509Certificate x509certificate) throws XMLSecurityException Constructor XMLX509Certificate- Parameters:
doc-x509certificate-- Throws:
XMLSecurityException
-
-
Method Details
-
getCertificateBytes
Method getCertificateBytes- Returns:
- the certificate bytes
- Throws:
XMLSecurityException
-
getX509Certificate
Method getX509Certificate- Returns:
- the x509 certificate
- Throws:
XMLSecurityException
-
getPublicKey
Method getPublicKey- Returns:
- the publickey
- Throws:
XMLSecurityExceptionIOException
-
equals
-
hashCode
public int hashCode() -
getBaseLocalName
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-