
com.quorum.tessera.encryption.Key Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of encryption-api Show documentation
Show all versions of encryption-api Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
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