public final class BouncyCastleUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BouncyCastleUtil.X509CertificateHolderStoreSelector |
static class |
BouncyCastleUtil.X509CRLHolderStoreSelector |
| Modifier and Type | Field and Description |
|---|---|
static org.bouncycastle.operator.DigestCalculatorProvider |
DIGEST_CALCULATOR_PROVIDER |
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier |
createAuthorityKeyIdentifier(PublicKey publicKey) |
static org.bouncycastle.asn1.x509.SubjectKeyIdentifier |
createSubjectKeyIdentifier(PublicKey publicKey) |
static org.bouncycastle.asn1.x509.SubjectPublicKeyInfo |
createSubjectPublicKeyInfo(PublicKey key) |
static List<? extends X509Certificate> |
extractCertificates(org.bouncycastle.cms.CMSSignedDataParser signedDataParser) |
static List<? extends X509CRL> |
extractCrls(org.bouncycastle.cms.CMSSignedDataParser signedDataParser) |
static X509Certificate |
holderToCertificate(org.bouncycastle.cert.X509CertificateHolder holder) |
static X509CRL |
holderToCrl(org.bouncycastle.cert.X509CRLHolder holder) |
static org.bouncycastle.asn1.x500.X500Name |
principalToName(X500Principal dn) |
public static final org.bouncycastle.operator.DigestCalculatorProvider DIGEST_CALCULATOR_PROVIDER
public static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(PublicKey publicKey)
public static org.bouncycastle.asn1.x509.SubjectKeyIdentifier createSubjectKeyIdentifier(PublicKey publicKey)
public static org.bouncycastle.asn1.x500.X500Name principalToName(X500Principal dn)
public static org.bouncycastle.asn1.x509.SubjectPublicKeyInfo createSubjectPublicKeyInfo(PublicKey key)
public static X509Certificate holderToCertificate(org.bouncycastle.cert.X509CertificateHolder holder) throws CertificateException
CertificateExceptionpublic static List<? extends X509Certificate> extractCertificates(org.bouncycastle.cms.CMSSignedDataParser signedDataParser) throws org.bouncycastle.util.StoreException, org.bouncycastle.cms.CMSException, CertificateException
org.bouncycastle.util.StoreExceptionorg.bouncycastle.cms.CMSExceptionCertificateExceptionpublic static X509CRL holderToCrl(org.bouncycastle.cert.X509CRLHolder holder) throws CRLException
CRLExceptionpublic static List<? extends X509CRL> extractCrls(org.bouncycastle.cms.CMSSignedDataParser signedDataParser) throws org.bouncycastle.util.StoreException, org.bouncycastle.cms.CMSException, CRLException
org.bouncycastle.util.StoreExceptionorg.bouncycastle.cms.CMSExceptionCRLExceptionCopyright © 2008-2016 RIPE NCC, the Netherlands. All Rights Reserved.