public class CertificateInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CertificateInfo.X500Name
a class that holds an X509 name
|
static class |
CertificateInfo.X509NameTokenizer
class for breaking up an X500 Name into it's component tokens, similar to java.util.StringTokenizer.
|
Constructor and Description |
---|
CertificateInfo() |
Modifier and Type | Method and Description |
---|---|
static org.bouncycastle.asn1.ASN1Primitive |
getIssuer(byte[] enc)
Get the "issuer" from the TBSCertificate bytes that are passed in
|
static CertificateInfo.X500Name |
getIssuerFields(X509Certificate cert)
Get the issuer fields from an X509 Certificate
|
static org.bouncycastle.asn1.ASN1Primitive |
getSubject(byte[] enc)
Get the "subject" from the TBSCertificate bytes that are passed in
|
static CertificateInfo.X500Name |
getSubjectFields(X509Certificate cert)
Get the subject fields from an X509 Certificate
|
public static CertificateInfo.X500Name getIssuerFields(X509Certificate cert)
cert
- an X509Certificate
public static org.bouncycastle.asn1.ASN1Primitive getIssuer(byte[] enc)
enc
- a TBSCertificate in a byte array
public static CertificateInfo.X500Name getSubjectFields(X509Certificate cert)
cert
- an X509Certificate
public static org.bouncycastle.asn1.ASN1Primitive getSubject(byte[] enc)
enc
- A TBSCertificate in a byte array
Copyright © 1998–2022. All rights reserved.