Package org.bouncycastle.crypto
Interface SymmetricKey
- All Superinterfaces:
Key
- All Known Implementing Classes:
SymmetricSecretKey
Interface describing a symmetric key.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Return the bytes associated with this key.Methods inherited from interface org.bouncycastle.crypto.Key
equals, getAlgorithm, hashCode
-
Method Details
-
getKeyBytes
byte[] getKeyBytes()Return the bytes associated with this key.- Returns:
- key bytes, null or exception if they are not available.
-