Interface EncapsulatedKey

All Known Subinterfaces:
EncapsulatedKeyRecord

@Preview(name="Property Encryption") public interface EncapsulatedKey
A reference to an encapsulated key.

Contains the key's globally unique id and, if assigned, its alias.

Since:
6.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key alias if assigned.
    id()
    Returns the globally unique key id.
  • Method Details

    • id

      String id()
      Returns the globally unique key id.
      Returns:
      the key id
    • alias

      Optional<String> alias()
      Returns the key alias if assigned.
      Returns:
      Optional with the key alias or Optional.empty() if no alias is assigned