@Generated(value="software.amazon.awssdk:codegen") public final class KeyModesOfUse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeyModesOfUse.Builder,KeyModesOfUse>
The list of cryptographic operations that you can perform using the key. The modes of use are defined in section A.5.3 of the TR-31 spec.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KeyModesOfUse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KeyModesOfUse.Builder |
builder() |
Boolean |
decrypt()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
|
Boolean |
deriveKey()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
|
Boolean |
encrypt()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
generate()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card
and PIN verification keys.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
noRestrictions()
Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the
restrictions implied by
KeyUsage. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends KeyModesOfUse.Builder> |
serializableBuilderClass() |
Boolean |
sign()
Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
|
KeyModesOfUse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
unwrap()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
|
Boolean |
verify()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
|
Boolean |
wrap()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean decrypt()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
public final Boolean deriveKey()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
public final Boolean encrypt()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
public final Boolean generate()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
public final Boolean noRestrictions()
Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the
restrictions implied by KeyUsage.
KeyUsage.public final Boolean sign()
Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
public final Boolean unwrap()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
public final Boolean verify()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
public final Boolean wrap()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
public KeyModesOfUse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KeyModesOfUse.Builder,KeyModesOfUse>public static KeyModesOfUse.Builder builder()
public static Class<? extends KeyModesOfUse.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.