| Package | Description |
|---|---|
| rs.baselib.crypto |
Provides support for encrypting, decrypting and signing streams.
|
| rs.baselib.licensing.internal |
Internal Licensing implementations.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
DataSigner.getByteSignature(byte[] bytes)
Creates a signature for the given bytes.
|
byte[] |
DataSigner.getByteSignature(InputStream in)
Creates a signature for the given stream.
|
byte[] |
DataSigner.getByteSignature(Reader reader)
Creates a signature for the given stream.
|
byte[] |
DataSigner.getByteSignature(String str)
Creates a signature for the given string.
|
void |
DataSigner.setPrivateKey(String privateKey)
Sets the privateKey.
|
void |
DataSigner.setPublicKey(String publicKey)
Sets the publicKey.
|
String |
DataSigner.sign(byte[] bytes)
Creates a signature for the given bytes.
|
String |
DataSigner.sign(InputStream in)
Creates a signature for the given stream.
|
String |
DataSigner.sign(Reader reader)
Creates a signature for the given stream.
|
String |
DataSigner.sign(String str)
Creates a signature for the given string.
|
void |
DataSigner.update(Signature signature,
InputStream in)
Updates the DSA with the bytes from this stream.
|
protected void |
DataSigner.update(Signature signature,
Reader reader)
Updates the DSA with the bytes from this stream.
|
boolean |
DataSigner.verify(byte[] signature,
byte[] data)
Verifies the signature on the given bytes.
|
boolean |
DataSigner.verify(byte[] signature,
InputStream in)
Verifies the signature on the given stream.
|
boolean |
DataSigner.verify(byte[] signature,
Reader in)
Verifies the signature on the given stream.
|
boolean |
DataSigner.verify(String signature,
InputStream in)
Verifies the signature on the given stream.
|
boolean |
DataSigner.verify(String signature,
Reader in)
Verifies the signature on the given stream.
|
boolean |
DataSigner.verify(String signature,
String str)
Verifies the signature on the given string.
|
| 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.