net.ripe.rpki.commons.crypto.util
Class BouncyCastleUtil
java.lang.Object
net.ripe.rpki.commons.crypto.util.BouncyCastleUtil
public class BouncyCastleUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIGEST_CALCULATOR_PROVIDER
public static final org.bouncycastle.operator.DigestCalculatorProvider DIGEST_CALCULATOR_PROVIDER
createAuthorityKeyIdentifier
public static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(PublicKey publicKey)
createSubjectKeyIdentifier
public static org.bouncycastle.asn1.x509.SubjectKeyIdentifier createSubjectKeyIdentifier(PublicKey publicKey)
principalToName
public static org.bouncycastle.asn1.x500.X500Name principalToName(X500Principal dn)
createSubjectPublicKeyInfo
public static org.bouncycastle.asn1.x509.SubjectPublicKeyInfo createSubjectPublicKeyInfo(PublicKey key)
holderToCertificate
public static X509Certificate holderToCertificate(org.bouncycastle.cert.X509CertificateHolder holder)
throws CertificateException
- Throws:
CertificateException
extractCertificates
public static List<? extends X509Certificate> extractCertificates(org.bouncycastle.cms.CMSSignedDataParser signedDataParser)
throws org.bouncycastle.util.StoreException,
org.bouncycastle.cms.CMSException,
CertificateException
- Throws:
org.bouncycastle.util.StoreException
org.bouncycastle.cms.CMSException
CertificateException
holderToCrl
public static X509CRL holderToCrl(org.bouncycastle.cert.X509CRLHolder holder)
throws CRLException
- Throws:
CRLException
extractCrls
public static List<? extends X509CRL> extractCrls(org.bouncycastle.cms.CMSSignedDataParser signedDataParser)
throws org.bouncycastle.util.StoreException,
org.bouncycastle.cms.CMSException,
CRLException
- Throws:
org.bouncycastle.util.StoreException
org.bouncycastle.cms.CMSException
CRLException
Copyright © 2008-2012 RIPE NCC, the Netherlands. All Rights Reserved.