public enum SignaturePolicy extends Enum<SignaturePolicy>
| Enum Constant and Description |
|---|
AllowEncryptAllowDecrypt |
AllowEncryptForbidDecrypt |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
algorithmAllowedForDecrypt(CryptoAlgorithm algorithm) |
static SignaturePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignaturePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignaturePolicy AllowEncryptAllowDecrypt
public static final SignaturePolicy AllowEncryptForbidDecrypt
public static SignaturePolicy[] values()
for (SignaturePolicy c : SignaturePolicy.values()) System.out.println(c);
public static SignaturePolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract boolean algorithmAllowedForDecrypt(CryptoAlgorithm algorithm)
Copyright © 2023. All rights reserved.