All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.encryption.Key Maven / Gradle / Ivy

Go to download

Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.

There is a newer version: 24.4.2
Show newest version
package com.quorum.tessera.encryption;

import java.io.Serializable;

/** A generic key that represents many different types of keys used for encryption */
public interface Key extends Serializable {

  /**
   * Retrieve the underlying byte array this key represents
   *
   * @return the byte values of the key
   */
  byte[] getKeyBytes();

  /**
   * Encode this keys bytes to its Base64 representation
   *
   * @return the Base64 representation of the key
   */
  String encodeToBase64();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy