class KmsClientAdapter extends KmsClient
- Alphabetic
- By Inheritance
- KmsClientAdapter
- KmsClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new KmsClientAdapter()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
KeyAccessDeniedExceptionunauthorized to initialize the KMS client
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var kms: KeyManagementService
- val kmsFactory: KeyManagementServiceFactory
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
KeyAccessDeniedExceptionunauthorized to unwrap with the given master key
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
KeyAccessDeniedExceptionunauthorized to encrypt with the given master key
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated