@InterfaceAudience.Private public class KMSServerJSONUtils extends Object
| Constructor and Description |
|---|
KMSServerJSONUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
toJSON(KeyProvider.KeyVersion keyVersion) |
static Map |
toJSON(KeyProviderCryptoExtension.EncryptedKeyVersion encryptedKeyVersion) |
static List |
toJSON(List<KeyProvider.KeyVersion> keyVersions) |
static List |
toJSON(String[] keyNames,
KeyProvider.Metadata[] metas) |
static Map |
toJSON(String keyName,
KeyProvider.Metadata meta) |
public static Map toJSON(KeyProvider.KeyVersion keyVersion)
public static List toJSON(List<KeyProvider.KeyVersion> keyVersions)
public static Map toJSON(KeyProviderCryptoExtension.EncryptedKeyVersion encryptedKeyVersion)
public static Map toJSON(String keyName, KeyProvider.Metadata meta)
public static List toJSON(String[] keyNames, KeyProvider.Metadata[] metas)
Copyright © 2018 CERN. All Rights Reserved.