Bouncy Castle Cryptography Library 1.59

org.bouncycastle.cert.path.validations
Class KeyUsageValidation

java.lang.Object
  |
  +--org.bouncycastle.cert.path.validations.KeyUsageValidation
All Implemented Interfaces:
CertPathValidation, org.bouncycastle.util.Memoable

public class KeyUsageValidation
extends java.lang.Object
implements CertPathValidation


Constructor Summary
KeyUsageValidation()
           
KeyUsageValidation(boolean isMandatory)
           
 
Method Summary
 org.bouncycastle.util.Memoable copy()
           
 void reset(org.bouncycastle.util.Memoable other)
           
 void validate(CertPathValidationContext context, X509CertificateHolder certificate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyUsageValidation

public KeyUsageValidation()

KeyUsageValidation

public KeyUsageValidation(boolean isMandatory)
Method Detail

validate

public void validate(CertPathValidationContext context,
                     X509CertificateHolder certificate)
              throws CertPathValidationException
Specified by:
validate in interface CertPathValidation

copy

public org.bouncycastle.util.Memoable copy()
Specified by:
copy in interface org.bouncycastle.util.Memoable

reset

public void reset(org.bouncycastle.util.Memoable other)
Specified by:
reset in interface org.bouncycastle.util.Memoable

Bouncy Castle Cryptography Library 1.59