public class LeaseSetKeys extends Object
Constructor and Description |
---|
LeaseSetKeys(Destination dest,
SigningPrivateKey revocationKey,
PrivateKey decryptionKey) |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
getDecryptionKey()
Decryption key which can open up garlic messages encrypted to the
LeaseSet's public key.
|
SigningPrivateKey |
getRevocationKey()
Key with which a LeaseSet can be revoked (by republishing it with no Leases)
Deprecated, unused
|
public LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)
dest
- unusedrevocationKey
- unuseddecryptionKey
- non-nullpublic SigningPrivateKey getRevocationKey()
public PrivateKey getDecryptionKey()