Top Description Fields Constructors Methods
org.bouncycastle.crypto.constraints

public Class BitsOfSecurityConstraint

extends ServicesConstraint
Class Inheritance
Imports
java.util.Collections, .Set, org.bouncycastle.crypto.CryptoServiceConstraintsException, .CryptoServiceProperties

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

Field Summary

Modifier and TypeField and Description
private final int
Inherited from org.bouncycastle.crypto.constraints.ServicesConstraint:
LOG

Constructor Summary

AccessConstructor and Description
public
BitsOfSecurityConstraint(int requiredBitsOfSecurity)

public
BitsOfSecurityConstraint(int requiredBitsOfSecurity, Set<String> exceptions)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.bouncycastle.crypto.constraints.ServicesConstraint:
isException

Field Detail

requiredBitsOfSecurityback to summary
private final int requiredBitsOfSecurity

Constructor Detail

BitsOfSecurityConstraintback to summary
public BitsOfSecurityConstraint(int requiredBitsOfSecurity)
BitsOfSecurityConstraintback to summary
public BitsOfSecurityConstraint(int requiredBitsOfSecurity, Set<String> exceptions)

Method Detail

checkback to summary
public void check(CryptoServiceProperties service)

Implements org.bouncycastle.crypto.CryptoServicesConstraints.check.