XMLX509DataContentpublic class XMLX509Certificate extends SignatureElementProxy implements XMLX509DataContent
| Modifier and Type | Field | Description |
|---|---|---|
static String |
JCA_CERT_ID |
Field JCA_CERT_ID
|
baseURI, log| Constructor | Description |
|---|---|
XMLX509Certificate(Document doc,
byte[] certificateBytes) |
Constructor X509Certificate
|
XMLX509Certificate(Document doc,
X509Certificate x509certificate) |
Constructor XMLX509Certificate
|
XMLX509Certificate(Element element,
String baseURI) |
Constructor X509Certificate
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
String |
getBaseLocalName() |
Returns the localname of the Elements of the sub-class.
|
byte[] |
getCertificateBytes() |
Method getCertificateBytes
|
PublicKey |
getPublicKey() |
Method getPublicKey
|
X509Certificate |
getX509Certificate() |
Method getX509Certificate
|
int |
hashCode() |
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, setXPathNamespaceContextclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBaseNamespacepublic static final String JCA_CERT_ID
public XMLX509Certificate(Element element, String baseURI) throws XMLSecurityException
element - baseURI - XMLSecurityExceptionpublic XMLX509Certificate(Document doc, byte[] certificateBytes)
doc - certificateBytes - public XMLX509Certificate(Document doc, X509Certificate x509certificate) throws XMLSecurityException
doc - x509certificate - XMLSecurityExceptionpublic byte[] getCertificateBytes()
throws XMLSecurityException
XMLSecurityExceptionpublic X509Certificate getX509Certificate() throws XMLSecurityException
XMLSecurityExceptionpublic PublicKey getPublicKey() throws XMLSecurityException
XMLSecurityExceptionpublic String getBaseLocalName()
ElementProxygetBaseLocalName in class ElementProxyCopyright © 2000–2018 The Apache Software Foundation. All rights reserved.