Class ImportKeyCryptogram

    • Method Detail

      • keyAttributes

        public final KeyAttributes keyAttributes()
        Returns the value of the KeyAttributes property for this object.
        Returns:
        The value of the KeyAttributes property for this object.
      • exportable

        public final Boolean exportable()

        Specifies whether the key is exportable from the service.

        Returns:
        Specifies whether the key is exportable from the service.
      • wrappedKeyCryptogram

        public final String wrappedKeyCryptogram()

        The RSA wrapped key cryptogram under import.

        Returns:
        The RSA wrapped key cryptogram under import.
      • importToken

        public final String importToken()

        The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.

        Returns:
        The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.
      • wrappingSpecAsString

        public final String wrappingSpecAsString()

        The wrapping spec for the wrapped key cryptogram.

        If the service returns an enum value that is not available in the current SDK version, wrappingSpec will return WrappingKeySpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from wrappingSpecAsString().

        Returns:
        The wrapping spec for the wrapped key cryptogram.
        See Also:
        WrappingKeySpec
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)