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
- Author:
- $Author$
-
Field Summary
FieldsFields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
-
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 TypeMethodDescriptionboolean
Returns the localname of the Elements of the sub-class.byte[]
Method getCertificateBytesMethod getPublicKeyMethod getX509CertificateMethods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, 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:
- teh publickey
- Throws:
XMLSecurityException
-
equals
-
getBaseLocalName
Description copied from class:ElementProxy
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-