public class LegacyBitsOfSecurityConstraint extends ServicesConstraint
LOG
Constructor and Description |
---|
LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity)
Base constructor, legacy level is set to 0.
|
LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity,
int legacyRequiredBitsOfSecurity)
Provide required bits of security and legacy requirements.
|
LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity,
int legacyRequiredBitsOfSecurity,
java.util.Set<java.lang.String> exceptions)
Provide required bits of security, legacy requirements, and a set of exceptions.
|
LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity,
java.util.Set<java.lang.String> exceptions)
Provide required bits of security, and a set of exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
check(CryptoServiceProperties service) |
isException
public LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity)
requiredBitsOfSecurity
- required bits of security for encryption and signing operations.public LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity, int legacyRequiredBitsOfSecurity)
requiredBitsOfSecurity
- required bits of security for encryption and signing operations.legacyRequiredBitsOfSecurity
- acceptable bits of security for decryption and verification operations.public LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity, java.util.Set<java.lang.String> exceptions)
requiredBitsOfSecurity
- required bits of security for encryption and signing operations.exceptions
- set service names which are exceptions to the above rules.public LegacyBitsOfSecurityConstraint(int requiredBitsOfSecurity, int legacyRequiredBitsOfSecurity, java.util.Set<java.lang.String> exceptions)
requiredBitsOfSecurity
- required bits of security for encryption and signing operations.legacyRequiredBitsOfSecurity
- acceptable bits of security for decryption and verification operations.exceptions
- set service names which are exceptions to the above rules.public void check(CryptoServiceProperties service)