Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.constraints
Class BitsOfSecurityConstraint

java.lang.Object
  |
  +--org.bouncycastle.crypto.constraints.ServicesConstraint
        |
        +--org.bouncycastle.crypto.constraints.BitsOfSecurityConstraint
All Implemented Interfaces:
CryptoServicesConstraints

public class BitsOfSecurityConstraint
extends ServicesConstraint

Basic bits of security constraint. Anything not of the required bits of security and not in the exception list will be rejected.


Constructor Summary
BitsOfSecurityConstraint(int requiredBitsOfSecurity)
           
BitsOfSecurityConstraint(int requiredBitsOfSecurity, java.util.Set exceptions)
           
 
Method Summary
 void check(CryptoServiceProperties service)
           
 
Methods inherited from class org.bouncycastle.crypto.constraints.ServicesConstraint
isException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitsOfSecurityConstraint

public BitsOfSecurityConstraint(int requiredBitsOfSecurity)

BitsOfSecurityConstraint

public BitsOfSecurityConstraint(int requiredBitsOfSecurity,
                                java.util.Set exceptions)
Method Detail

check

public void check(CryptoServiceProperties service)

Bouncy Castle Cryptography Library 1.77.0