Package | Description |
---|---|
org.apache.orc |
Modifier and Type | Method and Description |
---|---|
InMemoryKeystore |
InMemoryKeystore.addKey(String keyName,
EncryptionAlgorithm algorithm,
byte[] masterKey)
Function that takes care of adding a new key.
A new key can be added only if: This is a new key and no prior key version exist. If the key exists (has versions), then the new version to be added should be greater than the version that already exists. |
InMemoryKeystore |
InMemoryKeystore.addKey(String keyName,
int version,
EncryptionAlgorithm algorithm,
byte[] masterKey)
Function that takes care of adding a new key.
A new key can be added only if: This is a new key and no prior key version exist. If the key exists (has versions), then the new version to be added should be greater than the version that already exists. |
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.