Class MACSecretKey


  • public class MACSecretKey
    extends java.lang.Object
    Secret key for MAC generation
    Author:
    Ruslan Nazirov
    • Constructor Summary

      Constructors 
      Constructor Description
      MACSecretKey()
      Generate MAC secret key
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getSecretKey()
      Get MAC secret key
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MACSecretKey

        public MACSecretKey()
                     throws java.lang.Exception
        Generate MAC secret key
        Throws:
        java.lang.Exception - MAC secret key generation error
    • Method Detail

      • getSecretKey

        public byte[] getSecretKey()
        Get MAC secret key
        Returns:
        secretKey MAC secret key