public class XMLX509Certificate extends SignatureElementProxy implements XMLX509DataContent
Modifier and Type | Field and Description |
---|---|
static String |
JCA_CERT_ID
Field JCA_CERT_ID
|
baseURI, constructionElement, doc, log
Constructor and 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 and 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() |
getBaseNamespace
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext
public static final String JCA_CERT_ID
public XMLX509Certificate(Element element, String BaseURI) throws XMLSecurityException
element
- BaseURI
- XMLSecurityException
public XMLX509Certificate(Document doc, byte[] certificateBytes)
doc
- certificateBytes
- public XMLX509Certificate(Document doc, X509Certificate x509certificate) throws XMLSecurityException
doc
- x509certificate
- XMLSecurityException
public byte[] getCertificateBytes() throws XMLSecurityException
XMLSecurityException
public X509Certificate getX509Certificate() throws XMLSecurityException
XMLSecurityException
public PublicKey getPublicKey() throws XMLSecurityException
XMLSecurityException
public String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.