Package | Description |
---|---|
org.apache.ambari.server.security.encryption | |
org.apache.ambari.server.utils |
Modifier and Type | Method and Description |
---|---|
String |
EncryptionService.decrypt(String toBeDecrypted,
String key,
TextEncoding textEncoding)
Decrypts the given text (must be encoded with the given text encoding) using
the given key.
|
String |
AESEncryptionService.decrypt(String toBeDecrypted,
String key,
TextEncoding textEncoding) |
String |
EncryptionService.decrypt(String toBeDecrypted,
TextEncoding textEncoding)
Decrypts the given text (must be encoded with the given text encoding) using
Ambari's master key found in the environment.
|
String |
AESEncryptionService.decrypt(String toBeDecrypted,
TextEncoding textEncoding) |
String |
EncryptionService.encrypt(String toBeEncrypted,
String key,
TextEncoding textEncoding)
Encrypts the given text using the given key.The returned value will be
encoded with the given text encoding.
|
String |
AESEncryptionService.encrypt(String toBeEncrypted,
String key,
TextEncoding textEncoding) |
String |
EncryptionService.encrypt(String toBeEncrypted,
TextEncoding textEncoding)
Encrypts the given text using Ambari's master key found in the environment.
|
String |
AESEncryptionService.encrypt(String toBeEncrypted,
TextEncoding textEncoding) |
Modifier and Type | Method and Description |
---|---|
static TextEncoding |
TextEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextEncoding[] |
TextEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.