Packages

class KmsClientAdapter extends KmsClient

Linear Supertypes
KmsClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KmsClientAdapter
  2. KmsClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new KmsClientAdapter()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def initialize(configuration: Configuration, kmsInstanceID: String, kmsInstanceURL: String, accessToken: String): Unit

    Pass configuration with KMS-specific parameters.

    Pass configuration with KMS-specific parameters.

    configuration

    Hadoop configuration

    kmsInstanceID

    ID of the KMS instance handled by this KmsClient. Use the default value, for KMS systems that don't work with multiple instances.

    kmsInstanceURL

    URL of the KMS instance handled by this KmsClient. Use the default value, for KMS systems that don't work with URLs.

    accessToken

    KMS access (authorization) token. Use the default value, for KMS systems that don't work with tokens.

    Definition Classes
    KmsClientAdapter → KmsClient
    Exceptions thrown

    KeyAccessDeniedException unauthorized to initialize the KMS client

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. var kms: KeyManagementService
  13. val kmsFactory: KeyManagementServiceFactory
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def unwrapKey(wrappedKey: String, masterKeyIdentifier: String): Array[Byte]

    Decrypts (unwraps) a key with the master key.

    Decrypts (unwraps) a key with the master key.

    If your KMS client code throws runtime exceptions related to access/permission problems (such as Hadoop AccessControlException), catch them and throw the KeyAccessDeniedException.

    wrappedKey

    String produced by wrapKey operation

    returns

    unwrapped key bytes

    Definition Classes
    KmsClientAdapter → KmsClient
    Exceptions thrown

    KeyAccessDeniedException unauthorized to unwrap with the given master key

  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. def wrapKey(keyBytes: Array[Byte], masterKeyIdentifier: String): String

    Wraps a key - encrypts it with the master key, encodes the result and potentially adds a KMS-specific metadata.

    Wraps a key - encrypts it with the master key, encodes the result and potentially adds a KMS-specific metadata.

    If your KMS client code throws runtime exceptions related to access/permission problems (such as Hadoop AccessControlException), catch them and throw the KeyAccessDeniedException.

    returns

    wrapped key

    Definition Classes
    KmsClientAdapter → KmsClient
    Exceptions thrown

    KeyAccessDeniedException unauthorized to encrypt with the given master key

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from KmsClient

Inherited from AnyRef

Inherited from Any

Ungrouped