Interface ExportKeyResponse.Builder

  • Method Details

    • wrappedKey

      ExportKeyResponse.Builder wrappedKey(WrappedKey wrappedKey)

      The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.

      Parameters:
      wrappedKey - The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • wrappedKey

      default ExportKeyResponse.Builder wrappedKey(Consumer<WrappedKey.Builder> wrappedKey)

      The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.

      This is a convenience method that creates an instance of the WrappedKey.Builder avoiding the need to create one manually via WrappedKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to wrappedKey(WrappedKey).

      Parameters:
      wrappedKey - a consumer that will call methods on WrappedKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: