Class XMLX509SKI
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.keys.content.x509.XMLX509SKI
- All Implemented Interfaces:
XMLX509DataContent
Handles SubjectKeyIdentifier (SKI) for X.509v3.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
static final String
SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14)
: This extension identifies the public key being certified.Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI
-
Constructor Summary
ConstructorsConstructorDescriptionXMLX509SKI
(Document doc, byte[] skiBytes) Constructor X509SKIXMLX509SKI
(Document doc, X509Certificate x509certificate) Constructor XMLX509SKIXMLX509SKI
(Element element, String baseURI) Constructor XMLX509SKI -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the localname of the Elements of the sub-class.byte[]
Method getSKIBytesstatic byte[]
Method getSKIBytesFromCertint
hashCode()
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
Methods inherited from class org.apache.xml.security.utils.ElementProxy
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
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
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.- See Also:
-
-
Constructor Details
-
XMLX509SKI
Constructor X509SKI- Parameters:
doc
-skiBytes
-
-
XMLX509SKI
Constructor XMLX509SKI- Parameters:
doc
-x509certificate
-- Throws:
XMLSecurityException
-
XMLX509SKI
Constructor XMLX509SKI- Parameters:
element
-baseURI
-- Throws:
XMLSecurityException
-
-
Method Details
-
getSKIBytes
Method getSKIBytes- Returns:
- the skibytes
- Throws:
XMLSecurityException
-
getSKIBytesFromCert
Method getSKIBytesFromCert- Parameters:
cert
-- Returns:
- ski bytes from the given certificate
- Throws:
XMLSecurityException
- See Also:
-
equals
-
hashCode
public int hashCode() -
getBaseLocalName
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-