net.ripe.rpki.commons.validation.objectvalidators
Class CertificateRepositoryObjectValidationContext

java.lang.Object
  extended by net.ripe.rpki.commons.validation.objectvalidators.CertificateRepositoryObjectValidationContext

public class CertificateRepositoryObjectValidationContext
extends Object

Represents the context used to validate an issued object. The context contains the issuing certificate, its location, and the effective resource set. The effective resource set must be used, in case the certificate contains inherited IP resources.


Constructor Summary
CertificateRepositoryObjectValidationContext(URI location, X509ResourceCertificate certificate)
           
CertificateRepositoryObjectValidationContext(URI location, X509ResourceCertificate certificate, net.ripe.ipresource.IpResourceSet resources, List<String> subjectChain)
           
 
Method Summary
 void addOverclaiming(net.ripe.ipresource.IpResourceSet overclaiming)
           
 CertificateRepositoryObjectValidationContext createChildContext(URI childLocation, X509ResourceCertificate childCertificate)
           
 boolean equals(Object obj)
           
 X509ResourceCertificate getCertificate()
           
 URI getLocation()
           
 URI getManifestURI()
           
 URI getRepositoryURI()
           
 net.ripe.ipresource.IpResourceSet getResources()
           
 URI getRpkiNotifyURI()
           
 List<String> getSubjectChain()
           
 byte[] getSubjectKeyIdentifier()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CertificateRepositoryObjectValidationContext

public CertificateRepositoryObjectValidationContext(URI location,
                                                    X509ResourceCertificate certificate)

CertificateRepositoryObjectValidationContext

public CertificateRepositoryObjectValidationContext(URI location,
                                                    X509ResourceCertificate certificate,
                                                    net.ripe.ipresource.IpResourceSet resources,
                                                    List<String> subjectChain)
Method Detail

getLocation

public URI getLocation()

getCertificate

public X509ResourceCertificate getCertificate()

getSubjectChain

public List<String> getSubjectChain()

getManifestURI

public URI getManifestURI()

getRepositoryURI

public URI getRepositoryURI()

getRpkiNotifyURI

public URI getRpkiNotifyURI()

getSubjectKeyIdentifier

public byte[] getSubjectKeyIdentifier()

addOverclaiming

public void addOverclaiming(net.ripe.ipresource.IpResourceSet overclaiming)

createChildContext

public CertificateRepositoryObjectValidationContext createChildContext(URI childLocation,
                                                                       X509ResourceCertificate childCertificate)

getResources

public net.ripe.ipresource.IpResourceSet getResources()

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


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