XMLX509DataContent
public class XMLX509SKI extends SignatureElementProxy implements XMLX509DataContent
Modifier and Type | Field | Description |
---|---|---|
static String |
SKI_OID |
SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14) :
This extension identifies the public key being certified. |
baseURI
Constructor | Description |
---|---|
XMLX509SKI(Document doc,
byte[] skiBytes) |
Constructor X509SKI
|
XMLX509SKI(Document doc,
X509Certificate x509certificate) |
Constructor XMLX509SKI
|
XMLX509SKI(Element element,
String baseURI) |
Constructor XMLX509SKI
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
String |
getBaseLocalName() |
Returns the localname of the Elements of the sub-class.
|
byte[] |
getSKIBytes() |
Method getSKIBytes
|
static byte[] |
getSKIBytesFromCert(X509Certificate cert) |
Method getSKIBytesFromCert
|
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, setXPathNamespaceContext
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBaseNamespace
public static final String SKI_OID
SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14)
:
This extension identifies the public key being certified. It enables
distinct keys used by the same subject to be differentiated
(e.g., as key updating occurs).
public XMLX509SKI(Document doc, byte[] skiBytes)
doc
- skiBytes
- public XMLX509SKI(Document doc, X509Certificate x509certificate) throws XMLSecurityException
doc
- x509certificate
- XMLSecurityException
public XMLX509SKI(Element element, String baseURI) throws XMLSecurityException
element
- baseURI
- XMLSecurityException
public byte[] getSKIBytes() throws XMLSecurityException
XMLSecurityException
public static byte[] getSKIBytesFromCert(X509Certificate cert) throws XMLSecurityException
cert
- XMLSecurityException
X509Extension.getExtensionValue(java.lang.String)
public String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.