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)
           
 
Method Summary
 CertificateRepositoryObjectValidationContext createChildContext(URI childLocation, X509ResourceCertificate childCertificate)
           
 boolean equals(Object obj)
           
 X509ResourceCertificate getCertificate()
           
 URI getLocation()
           
 URI getManifestURI()
           
 URI getRepositoryURI()
           
 net.ripe.ipresource.IpResourceSet getResources()
           
 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)
Method Detail

getLocation

public URI getLocation()

getCertificate

public X509ResourceCertificate getCertificate()

getResources

public net.ripe.ipresource.IpResourceSet getResources()

getManifestURI

public URI getManifestURI()

getRepositoryURI

public URI getRepositoryURI()

createChildContext

public CertificateRepositoryObjectValidationContext createChildContext(URI childLocation,
                                                                       X509ResourceCertificate childCertificate)

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-2014 RIPE NCC, the Netherlands. All Rights Reserved.