(EncryptionAlgorithm algorithm,
byte[] decryptedKey,
byte[] encryptedKey)
| 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; |
nothing calls this directly
no test coverage detected