public class XMLX509SKI extends SignatureElementProxy implements XMLX509DataContent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SKI_OID
SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14) :
This extension identifies the public key being certified. |
baseURI, constructionElement, doc
Constructor and Description |
---|
XMLX509SKI(org.w3c.dom.Document doc,
byte[] skiBytes)
Constructor X509SKI
|
XMLX509SKI(org.w3c.dom.Document doc,
java.security.cert.X509Certificate x509certificate)
Constructor XMLX509SKI
|
XMLX509SKI(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor XMLX509SKI
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
byte[] |
getSKIBytes()
Method getSKIBytes
|
static byte[] |
getSKIBytesFromCert(java.security.cert.X509Certificate cert)
Method getSKIBytesFromCert
|
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 java.lang.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(org.w3c.dom.Document doc, byte[] skiBytes)
doc
- skiBytes
- public XMLX509SKI(org.w3c.dom.Document doc, java.security.cert.X509Certificate x509certificate) throws XMLSecurityException
doc
- x509certificate
- XMLSecurityException
public XMLX509SKI(org.w3c.dom.Element element, java.lang.String BaseURI) throws XMLSecurityException
element
- BaseURI
- XMLSecurityException
public byte[] getSKIBytes() throws XMLSecurityException
XMLSecurityException
public static byte[] getSKIBytesFromCert(java.security.cert.X509Certificate cert) throws XMLSecurityException
cert
- XMLSecurityException
X509Extension.getExtensionValue(java.lang.String)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy