public class X509Data extends SignatureElementProxy implements KeyInfoContent
baseURI
Constructor and Description |
---|
X509Data(Document doc)
Constructor X509Data
|
X509Data(Element element,
String baseURI)
Constructor X509Data
|
Modifier and Type | Method and Description |
---|---|
void |
add(XMLX509Certificate xmlX509Certificate)
Method add
|
void |
add(XMLX509CRL xmlX509CRL)
Method add
|
void |
add(XMLX509Digest xmlX509Digest)
Method add
|
void |
add(XMLX509IssuerSerial xmlX509IssuerSerial)
Method add
|
void |
add(XMLX509SKI xmlX509SKI)
Method add
|
void |
add(XMLX509SubjectName xmlX509SubjectName)
Method add
|
void |
addCertificate(byte[] x509certificateBytes)
Method addCertificate
|
void |
addCertificate(X509Certificate x509certificate)
Method addCertificate
|
void |
addCRL(byte[] crlBytes)
Method addCRL
|
void |
addDigest(byte[] x509CertificateDigestBytes,
String algorithmURI)
Method addDigest
|
void |
addDigest(X509Certificate x509certificate,
String algorithmURI)
Method addDigest
|
void |
addIssuerSerial(String X509IssuerName,
BigInteger X509SerialNumber)
Method addIssuerSerial
|
void |
addIssuerSerial(String X509IssuerName,
int X509SerialNumber)
Method addIssuerSerial
|
void |
addIssuerSerial(String X509IssuerName,
String X509SerialNumber)
Method addIssuerSerial
|
void |
addSKI(byte[] skiBytes)
Method addSKI
|
void |
addSKI(X509Certificate x509certificate)
Method addSKI
|
void |
addSubjectName(String subjectName)
Method addSubjectName
|
void |
addSubjectName(X509Certificate x509certificate)
Method addSubjectName
|
void |
addUnknownElement(Element element)
Method addUnknownElement
|
boolean |
containsCertificate()
Method containsCertificate
|
boolean |
containsCRL()
Method containsCRL
|
boolean |
containsDigest()
Method containsDigest
|
boolean |
containsIssuerSerial()
Method containsIssuerSerial
|
boolean |
containsSKI()
Method containsSKI
|
boolean |
containsSubjectName()
Method containsSubjectName
|
boolean |
containsUnknownElement()
Method containsUnknownElement
|
String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
XMLX509Certificate |
itemCertificate(int i)
Method itemCertificate
|
XMLX509CRL |
itemCRL(int i)
Method itemCRL
|
XMLX509Digest |
itemDigest(int i)
Method itemDigest
|
XMLX509IssuerSerial |
itemIssuerSerial(int i)
Method itemIssuerSerial
|
XMLX509SKI |
itemSKI(int i)
Method itemSKI
|
XMLX509SubjectName |
itemSubjectName(int i)
Method itemSubjectName
|
Element |
itemUnknownElement(int i)
Method itemUnknownElement
|
int |
lengthCertificate()
Method lengthCertificate
|
int |
lengthCRL()
Method lengthCRL
|
int |
lengthDigest()
Method lengthDigest
|
int |
lengthIssuerSerial()
Method lengthIssuerSerial
|
int |
lengthSKI()
Method lengthSKI
|
int |
lengthSubjectName()
Method lengthSubjectName
|
int |
lengthUnknownElement()
Method lengthUnknownElement
|
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 X509Data(Document doc)
doc
- public X509Data(Element element, String baseURI) throws XMLSecurityException
element
- baseURI
- XMLSecurityException
public void addIssuerSerial(String X509IssuerName, BigInteger X509SerialNumber)
X509IssuerName
- X509SerialNumber
- public void addIssuerSerial(String X509IssuerName, String X509SerialNumber)
X509IssuerName
- X509SerialNumber
- public void addIssuerSerial(String X509IssuerName, int X509SerialNumber)
X509IssuerName
- X509SerialNumber
- public void add(XMLX509IssuerSerial xmlX509IssuerSerial)
xmlX509IssuerSerial
- public void addSKI(byte[] skiBytes)
skiBytes
- public void addSKI(X509Certificate x509certificate) throws XMLSecurityException
x509certificate
- XMLSecurityException
public void add(XMLX509SKI xmlX509SKI)
xmlX509SKI
- public void addSubjectName(String subjectName)
subjectName
- public void addSubjectName(X509Certificate x509certificate)
x509certificate
- public void add(XMLX509SubjectName xmlX509SubjectName)
xmlX509SubjectName
- public void addCertificate(X509Certificate x509certificate) throws XMLSecurityException
x509certificate
- XMLSecurityException
public void addCertificate(byte[] x509certificateBytes)
x509certificateBytes
- public void add(XMLX509Certificate xmlX509Certificate)
xmlX509Certificate
- public void addCRL(byte[] crlBytes)
crlBytes
- public void add(XMLX509CRL xmlX509CRL)
xmlX509CRL
- public void addDigest(X509Certificate x509certificate, String algorithmURI) throws XMLSecurityException
x509certificate
- algorithmURI
- XMLSecurityException
public void addDigest(byte[] x509CertificateDigestBytes, String algorithmURI)
x509CertificateDigestBytes
- algorithmURI
- public void add(XMLX509Digest xmlX509Digest)
xmlX509Digest
- public void addUnknownElement(Element element)
element
- public int lengthIssuerSerial()
public int lengthSKI()
public int lengthSubjectName()
public int lengthCertificate()
public int lengthCRL()
public int lengthDigest()
public int lengthUnknownElement()
public XMLX509IssuerSerial itemIssuerSerial(int i) throws XMLSecurityException
i
- XMLSecurityException
public XMLX509SKI itemSKI(int i) throws XMLSecurityException
i
- XMLSecurityException
public XMLX509SubjectName itemSubjectName(int i) throws XMLSecurityException
i
- XMLSecurityException
public XMLX509Certificate itemCertificate(int i) throws XMLSecurityException
i
- XMLSecurityException
public XMLX509CRL itemCRL(int i) throws XMLSecurityException
i
- XMLSecurityException
public XMLX509Digest itemDigest(int i) throws XMLSecurityException
i
- XMLSecurityException
public Element itemUnknownElement(int i)
i
- public boolean containsIssuerSerial()
public boolean containsSKI()
public boolean containsSubjectName()
public boolean containsCertificate()
public boolean containsDigest()
public boolean containsCRL()
public boolean containsUnknownElement()
public String getBaseLocalName()
getBaseLocalName
in class ElementProxy
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.