net.ripe.rpki.commons.crypto.x509cert
Class X509CertificateUtil

java.lang.Object
  extended by net.ripe.rpki.commons.crypto.x509cert.X509CertificateUtil

public final class X509CertificateUtil
extends Object


Method Summary
static byte[] getAuthorityKeyIdentifier(X509Extension certificate)
           
static String getEncodedSubjectPublicKeyInfo(X509Certificate certificate)
          Get a base 64-encoded, DER-encoded X.509 subjectPublicKeyInfo as used for the Trust Anchor Locator (TAL)
static byte[] getSubjectKeyIdentifier(X509Extension certificate)
           
static X509ResourceCertificate parseDerEncoded(byte[] encoded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.