类 CipherMessage


  • public class CipherMessage
    extends Object
    Represent the cipher message
    • 构造器详细资料

      • CipherMessage

        public CipherMessage​(byte[] encryption,
                             byte[] signature)
        Constructs cipher message
        参数:
        encryption - encrypted cipher message
        signature - message signature
      • CipherMessage

        public CipherMessage()
        Constructs cipher message
    • 方法详细资料

      • getBytes

        public byte[] getBytes()
        Get cipher message, including encrypted message and message signature
        返回:
        cipher message in byte array
      • setEncryption

        public void setEncryption​(byte[] encryption)
        Set encrypted message
        参数:
        encryption - encrypted message
      • getEncryption

        public byte[] getEncryption()
        Get encrypted message
        返回:
        encrypted message
      • setSignature

        public void setSignature​(byte[] signature)
        Set message signature
        参数:
        signature - message signature
      • getSignature

        public byte[] getSignature()
        Get message signature
        返回:
        message signature