Interface SymmetricKey

All Superinterfaces:
Key
All Known Implementing Classes:
SymmetricSecretKey

public interface SymmetricKey extends Key
Interface describing a symmetric key.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    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.