Class NoopSealedMessageEncrypter


  • public class NoopSealedMessageEncrypter
    extends java.lang.Object
    This class decorates sealed message encrypter to simplify usage of the NOOP implementation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.token.proto.common.security.SecurityProtos.SealedMessage encrypt​(java.lang.String payload)
      Encrypts the specified payload.
      • Methods inherited from class java.lang.Object

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

      • NoopSealedMessageEncrypter

        public NoopSealedMessageEncrypter()
        Creates a new instance of the encrypter.
    • Method Detail

      • encrypt

        public io.token.proto.common.security.SecurityProtos.SealedMessage encrypt​(java.lang.String payload)
        Encrypts the specified payload.
        Parameters:
        payload - the payload to be encrypted
        Returns:
        the encrypted sealed message