public class XMLX509SKI extends SignatureElementProxy implements XMLX509DataContent
Modifier and Type | Field and Description |
---|---|
static String |
SKI_OID
SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14) :
This extension identifies the public key being certified. |
baseURI
Constructor and 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 and 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() |
getBaseNamespace
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
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).
A key identifier shall be unique with respect to all key identifiers
for the subject with which it is used. This extension is always non-critical.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()
getBaseLocalName
in class ElementProxy
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.