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

java.lang.Object
  extended by net.ripe.rpki.commons.crypto.x509cert.AbstractX509CertificateWrapper
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProvisioningCertificate, X509ResourceCertificate

public abstract class AbstractX509CertificateWrapper
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static org.bouncycastle.asn1.x509.PolicyInformation POLICY_INFORMATION
           
static org.bouncycastle.asn1.ASN1ObjectIdentifier POLICY_OID
           
 
Constructor Summary
protected AbstractX509CertificateWrapper(X509Certificate certificate)
           
 
Method Summary
 boolean equals(Object obj)
           
 URI findFirstAuthorityInformationAccessByMethod(org.bouncycastle.asn1.ASN1ObjectIdentifier method)
           
 URI findFirstRsyncCrlDistributionPoint()
           
 URI findFirstSubjectInformationAccessByMethod(org.bouncycastle.asn1.ASN1ObjectIdentifier method)
           
 X509CertificateInformationAccessDescriptor[] getAuthorityInformationAccess()
           
 byte[] getAuthorityKeyIdentifier()
           
 X509Certificate getCertificate()
           
 org.bouncycastle.asn1.ASN1ObjectIdentifier getCertificatePolicy()
           
 URI[] getCrlDistributionPoints()
           
 byte[] getEncoded()
           
 X500Principal getIssuer()
           
 URI getManifestUri()
           
 PublicKey getPublicKey()
           
 URI getRepositoryUri()
           
 BigInteger getSerialNumber()
           
 X500Principal getSubject()
           
 X509CertificateInformationAccessDescriptor[] getSubjectInformationAccess()
           
 byte[] getSubjectKeyIdentifier()
           
 ValidityPeriod getValidityPeriod()
           
 int hashCode()
           
 boolean isCa()
           
 boolean isEe()
           
 boolean isObjectIssuer()
           
 boolean isRoot()
           
 String toString()
           
 void verify(PublicKey publicKey)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POLICY_OID

public static final org.bouncycastle.asn1.ASN1ObjectIdentifier POLICY_OID

POLICY_INFORMATION

public static final org.bouncycastle.asn1.x509.PolicyInformation POLICY_INFORMATION
Constructor Detail

AbstractX509CertificateWrapper

protected AbstractX509CertificateWrapper(X509Certificate certificate)
Method Detail

getCertificate

public X509Certificate getCertificate()

getEncoded

public byte[] getEncoded()

getCertificatePolicy

public org.bouncycastle.asn1.ASN1ObjectIdentifier getCertificatePolicy()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

isEe

public boolean isEe()

isCa

public boolean isCa()

isRoot

public boolean isRoot()

getManifestUri

public URI getManifestUri()

getRepositoryUri

public URI getRepositoryUri()

isObjectIssuer

public boolean isObjectIssuer()

getSubjectKeyIdentifier

public byte[] getSubjectKeyIdentifier()

getAuthorityKeyIdentifier

public byte[] getAuthorityKeyIdentifier()

getSubject

public X500Principal getSubject()

getIssuer

public X500Principal getIssuer()

getPublicKey

public PublicKey getPublicKey()

getValidityPeriod

public ValidityPeriod getValidityPeriod()

getSerialNumber

public BigInteger getSerialNumber()

getAuthorityInformationAccess

public X509CertificateInformationAccessDescriptor[] getAuthorityInformationAccess()

findFirstAuthorityInformationAccessByMethod

public URI findFirstAuthorityInformationAccessByMethod(org.bouncycastle.asn1.ASN1ObjectIdentifier method)

getSubjectInformationAccess

public X509CertificateInformationAccessDescriptor[] getSubjectInformationAccess()

findFirstSubjectInformationAccessByMethod

public URI findFirstSubjectInformationAccessByMethod(org.bouncycastle.asn1.ASN1ObjectIdentifier method)

getCrlDistributionPoints

public URI[] getCrlDistributionPoints()

findFirstRsyncCrlDistributionPoint

public URI findFirstRsyncCrlDistributionPoint()

verify

public void verify(PublicKey publicKey)
            throws InvalidKeyException,
                   SignatureException
Throws:
InvalidKeyException
SignatureException


Copyright © 2008-2014 RIPE NCC, the Netherlands. All Rights Reserved.