net.ripe.rpki.commons.validation.objectvalidators
Class X509CertificateParentChildValidator<T extends AbstractX509CertificateWrapper>

java.lang.Object
  extended by net.ripe.rpki.commons.validation.objectvalidators.X509CertificateParentChildValidator<T>
Direct Known Subclasses:
ProvisioningCertificateValidator, X509ResourceCertificateParentChildLooseValidator, X509ResourceCertificateParentChildValidator

public abstract class X509CertificateParentChildValidator<T extends AbstractX509CertificateWrapper>
extends Object


Field Summary
protected  T child
           
protected  ValidationOptions options
           
protected  ValidationResult result
           
 
Constructor Summary
X509CertificateParentChildValidator(ValidationOptions options, ValidationResult result, T parent, X509Crl crl)
           
 
Method Summary
protected  T getChild()
           
 ValidationResult getValidationResult()
           
 void validate(String location, T certificate)
           
protected  void verifyKeyUsage()
           
protected  void verifyValidity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

child

protected T extends AbstractX509CertificateWrapper child

options

protected final ValidationOptions options

result

protected final ValidationResult result
Constructor Detail

X509CertificateParentChildValidator

public X509CertificateParentChildValidator(ValidationOptions options,
                                           ValidationResult result,
                                           T parent,
                                           X509Crl crl)
Method Detail

validate

public void validate(String location,
                     T certificate)

getValidationResult

public ValidationResult getValidationResult()

getChild

protected T getChild()

verifyValidity

protected void verifyValidity()

verifyKeyUsage

protected void verifyKeyUsage()


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