| Package | Description |
|---|---|
| rs.baselib.crypto |
Provides support for encrypting, decrypting and signing streams.
|
| rs.baselib.licensing |
Helper methods for licensing products.
|
| rs.baselib.licensing.internal |
Internal Licensing implementations.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Decrypter.decrypt(byte[] bytes)
Decrypt a byte array
|
String |
Decrypter.decrypt(String str)
Takes a single string as an argument and returns an decrypted version
of that string.
|
| Constructor and Description |
|---|
DataSigner()
Constructor.
|
DataSigner(KeyPair keyPair)
Constructor from key pair.
|
DataSigner(PrivateKey privateKey)
Constructor from private key.
|
DataSigner(PrivateKey privateKey,
PublicKey publicKey)
Constructor from key pair.
|
DataSigner(PublicKey publicKey)
Constructor from public key.
|
Decrypter(byte[] bytephrase,
byte[] salt,
int iterationCount)
Constructor from bytephrase, salt and iteration spec.
|
Decrypter(char[] passPhrase)
Constructor from passphrase.
|
Decrypter(char[] passPhrase,
byte[] salt)
Constructor from passphrase.
|
Decrypter(Key key,
String algorithm)
Constructor from secret key.
|
Decrypter(Key key,
String algorithm,
AlgorithmParameterSpec paramSpec)
Constructor from secret key.
|
Decrypter(Key key,
String algorithm,
byte[] salt,
int iterationCount)
Constructor from secret key.
|
Decrypter(String passPhrase)
Constructor from passphrase.
|
Decrypter(String passPhrase,
byte[] salt)
Constructor from passphrase.
|
Decrypter(String passPhrase,
byte[] salt,
int iterationCount)
Constructor from passphrase, salt and iteration spec.
|
| Constructor and Description |
|---|
LicenseGenerator()
Constructor.
|
LicenseGenerator(ILicenseCreator licenseCreator)
Constructor.
|
LicenseGenerator(ILicensingScheme scheme)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
OctetLicenseCreator.sign(ILicenseContext context,
byte[] bytes)
Signes the given byte array.
|
protected boolean |
OctetLicenseVerifier.verify(byte[] signature,
SimpleLicense license,
ILicenseContext context)
Verifies the signature
|
Copyright © 2014. All rights reserved.