Class X509CertificateParentChildValidator<T extends AbstractX509CertificateWrapper>
- java.lang.Object
-
- net.ripe.rpki.commons.validation.objectvalidators.X509CertificateParentChildValidator<T>
-
- Direct Known Subclasses:
ProvisioningCertificateValidator,X509ResourceCertificateParentChildLooseValidator,X509ResourceCertificateParentChildValidator,X509RouterCertificateValidator
public abstract class X509CertificateParentChildValidator<T extends AbstractX509CertificateWrapper> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Tchildprotected ValidationOptionsoptionsprotected ValidationResultresult
-
Constructor Summary
Constructors Constructor Description X509CertificateParentChildValidator(ValidationOptions options, ValidationResult result, T parent, X509Crl crl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TgetChild()ValidationResultgetValidationResult()voidvalidate(String location, T certificate)protected voidverifyKeyUsage()https://datatracker.ietf.org/doc/html/rfc6487#section-4.8.4 KeyUsage validation added as warning to be similar to current checks.protected voidverifyValidity()
-
-
-
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
-
getValidationResult
public ValidationResult getValidationResult()
-
getChild
protected T getChild()
-
verifyValidity
protected void verifyValidity()
-
verifyKeyUsage
protected void verifyKeyUsage()
https://datatracker.ietf.org/doc/html/rfc6487#section-4.8.4 KeyUsage validation added as warning to be similar to current checks.
-
-