MCPcopy Index your code
hub / github.com/apache/orc / LocalKey

Method LocalKey

java/shims/src/java/org/apache/orc/impl/LocalKey.java:35–42  ·  view source on GitHub ↗
(EncryptionAlgorithm algorithm,
                  byte[] decryptedKey,
                  byte[] encryptedKey)

Source from the content-addressed store, hash-verified

33 private Key decryptedKey;
34
35 public LocalKey(EncryptionAlgorithm algorithm,
36 byte[] decryptedKey,
37 byte[] encryptedKey) {
38 this.encryptedKey = encryptedKey;
39 if (decryptedKey != null) {
40 setDecryptedKey(new SecretKeySpec(decryptedKey, algorithm.getAlgorithm()));
41 }
42 }
43
44 public void setDecryptedKey(Key key) {
45 decryptedKey = key;

Callers

nothing calls this directly

Calls 2

setDecryptedKeyMethod · 0.95
getAlgorithmMethod · 0.65

Tested by

no test coverage detected