Package sop

Class SessionKey


  • public class SessionKey
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SessionKey​(byte algorithm, byte[] sessionKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      byte getAlgorithm()
      Return the symmetric algorithm octet.
      byte[] getKey()
      Return the session key.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SessionKey

        public SessionKey​(byte algorithm,
                          byte[] sessionKey)
    • Method Detail

      • getAlgorithm

        public byte getAlgorithm()
        Return the symmetric algorithm octet.
        Returns:
        algorithm id
      • getKey

        public byte[] getKey()
        Return the session key.
        Returns:
        session key
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object