public class Encryptor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Encryptor.EncryptorBuilder |
Constructor and Description |
---|
Encryptor(java.util.List<EncryptedPrivateKey> protectors) |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] data,
ECKeyPair accessor) |
java.util.List<EncryptedPrivateKey> |
getProtectors() |
public Encryptor(java.util.List<EncryptedPrivateKey> protectors)
public java.util.List<EncryptedPrivateKey> getProtectors()
public byte[] decrypt(byte[] data, ECKeyPair accessor) throws CryptoException
CryptoException