net.ripe.rpki.commons.crypto.x509cert
Class X509CertificateUtil
java.lang.Object
net.ripe.rpki.commons.crypto.x509cert.X509CertificateUtil
public final class X509CertificateUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSubjectKeyIdentifier
public static byte[] getSubjectKeyIdentifier(X509Extension certificate)
getAuthorityKeyIdentifier
public static byte[] getAuthorityKeyIdentifier(X509Extension certificate)
parseDerEncoded
public static X509ResourceCertificate parseDerEncoded(byte[] encoded)
getEncodedSubjectPublicKeyInfo
public static String getEncodedSubjectPublicKeyInfo(X509Certificate certificate)
- Get a base 64-encoded, DER-encoded X.509 subjectPublicKeyInfo as used for the Trust Anchor Locator (TAL)
- Throws:
AbstractX509CertificateWrapperException
IOException
Copyright © 2008-2013 RIPE NCC, the Netherlands. All Rights Reserved.