Class RewrapKeyResponseBody

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class RewrapKeyResponseBody
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Properties that are associated with the response body of an rewrap action.
    • Method Detail

      • getCiphertext

        public String getCiphertext()
        Gets the ciphertext. The wrapped data encryption key (WDEK) that you can export to your app or service. The ciphertext contains the DEK wrapped by the latest version of the key (WDEK). It is recommended to store and use this WDEK in future calls to Key Protect. The value is base64 encoded.
        Returns:
        the ciphertext
      • getKeyVersion

        public WrappedKeyVersionKeyVersion getKeyVersion()
        Gets the keyVersion. The key version that was used to wrap the DEK. This key version is associated with the `ciphertext` value that was used in the request.
        Returns:
        the keyVersion
      • getRewrappedKeyVersion

        public RewrappedKeyVersionRewrappedKeyVersion getRewrappedKeyVersion()
        Gets the rewrappedKeyVersion. The latest key version that was used to rewrap the DEK. This key version is associated with the `ciphertext` value that's returned in the response.
        Returns:
        the rewrappedKeyVersion