()
| 63 | /// private keys as sensitive material -- do not log or store |
| 64 | /// unencrypted. |
| 65 | public final byte[] getEncoded() { |
| 66 | byte[] copy = new byte[encoded.length]; |
| 67 | System.arraycopy(encoded, 0, copy, 0, encoded.length); |
| 68 | return copy; |
| 69 | } |
| 70 | |
| 71 | /// Returns the algorithm this key is intended for (e.g. "AES", "RSA"). |
| 72 | public final String getAlgorithm() { |