Class KeyModesOfUse
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptography.model.KeyModesOfUse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeyModesOfUse.Builder,KeyModesOfUse>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKeyModesOfUse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyModesOfUse.Builderbuilder()Booleandecrypt()Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.BooleanderiveKey()Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.Booleanencrypt()Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleangenerate()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)inthashCode()BooleannoRestrictions()Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied byKeyUsage.List<SdkField<?>>sdkFields()static Class<? extends KeyModesOfUse.Builder>serializableBuilderClass()Booleansign()Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.KeyModesOfUse.BuildertoBuilder()StringtoString()Returns a string representation of this object.Booleanunwrap()Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.Booleanverify()Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.Booleanwrap()Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
decrypt
public final Boolean decrypt()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
-
deriveKey
public final Boolean deriveKey()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
-
encrypt
public final Boolean encrypt()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
-
generate
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.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
-
noRestrictions
public final Boolean noRestrictions()
Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by
KeyUsage.- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than
the restrictions implied by
KeyUsage.
-
sign
public final Boolean sign()
Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
-
unwrap
public final Boolean unwrap()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
-
verify
public final Boolean verify()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
-
wrap
public final Boolean wrap()
Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
- Returns:
- Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
-
toBuilder
public KeyModesOfUse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KeyModesOfUse.Builder,KeyModesOfUse>
-
builder
public static KeyModesOfUse.Builder builder()
-
serializableBuilderClass
public static Class<? extends KeyModesOfUse.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-