static SecretConstraint<CryptoKey> | 
SecretConstraint.allowedAlgorithm(String algorithm) | 
 Enforces that the key is allowed to be used with the given algorithm. 
 | 
static SecretConstraint<CryptoKey> | 
SecretConstraint.allowedKeyUsages(Set<KeyUsage> keyUsages) | 
 Enforces that the key satisfies at least one of the given key usage constraints. 
 | 
static SecretConstraint<CryptoKey> | 
SecretConstraint.allowedKeyUsages(KeyUsage first,
                KeyUsage... rest) | 
 Enforces that the key satisfies at least one of the given key usage constraints. 
 | 
static SecretConstraint<CryptoKey> | 
SecretConstraint.ellipticCurveKeyParameters(ECParameterSpec requiredParameters) | 
 Enforces that the key is an elliptic curve key with the given parameters. 
 | 
static SecretConstraint<CryptoKey> | 
SecretConstraint.keyAlgorithm(String keyAlgorithm) | 
 Enforces a particular key algorithm (case insensitive). 
 | 
static SecretConstraint<CryptoKey> | 
SecretConstraint.requiredKeyUsages(Set<KeyUsage> keyUsages) | 
 Enforces that the key satisfies all of the given key usage constraints. 
 | 
static SecretConstraint<CryptoKey> | 
SecretConstraint.requiredKeyUsages(KeyUsage first,
                 KeyUsage... rest) | 
 Enforces that the key satisfies all of the given key usage constraints. 
 |