| Package | Description |
|---|---|
| net.nicholaswilliams.java.licensing | |
| net.nicholaswilliams.java.licensing.encryption | |
| net.nicholaswilliams.java.licensing.licensor |
| Modifier and Type | Method and Description |
|---|---|
License |
LicenseManager.getLicense(Object context)
If the license has already been cached for the specified context (account, client, etc.) and the cache has not
become stale (its age has not surpassed the cache time limitation configured for this manager), this returns the
cached license.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RSAKeyPairGeneratorInterface.saveKeyPairToFiles(KeyPair keyPair,
String privateOutputFileName,
String publicOutputFileName,
char[] password)
Saves the key pair specified to output files specified, encrypting both with the specified password.
|
void |
RSAKeyPairGenerator.saveKeyPairToFiles(KeyPair keyPair,
String privateOutputFileName,
String publicOutputFileName,
char[] password)
Saves the key pair specified to output files specified, encrypting both with the specified password.
|
void |
RSAKeyPairGeneratorInterface.saveKeyPairToFiles(KeyPair keyPair,
String privateOutputFileName,
String publicOutputFileName,
char[] privatePassword,
char[] publicPassword)
Saves the key pair specified to output files specified, encrypting each with their specified passwords.
|
void |
RSAKeyPairGenerator.saveKeyPairToFiles(KeyPair keyPair,
String privateOutputFileName,
String publicOutputFileName,
char[] privatePassword,
char[] publicPassword)
Saves the key pair specified to output files specified, encrypting each with their specified passwords.
|
void |
RSAKeyPairGeneratorInterface.saveKeyPairToProviders(KeyPair keyPair,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor privateKeyProvider,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor publicKeyProvider,
char[] password)
Saves the public and private keys specified to the respective
javaFileContents fields in
the provided RSAKeyPairGeneratorInterface.GeneratedClassDescriptors, encrypting both with the specified password. |
void |
RSAKeyPairGenerator.saveKeyPairToProviders(KeyPair keyPair,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor privateKeyProvider,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor publicKeyProvider,
char[] password)
Saves the public and private keys specified to the respective
javaFileContents fields in
the provided RSAKeyPairGeneratorInterface.GeneratedClassDescriptors, encrypting both with the specified
password. |
void |
RSAKeyPairGeneratorInterface.saveKeyPairToProviders(KeyPair keyPair,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor privateKeyProvider,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor publicKeyProvider,
char[] privatePassword,
char[] publicPassword)
Saves the public and private keys specified to the respective
javaFileContents fields in
the provided RSAKeyPairGeneratorInterface.GeneratedClassDescriptors, encrypting each with their respective passwords. |
void |
RSAKeyPairGenerator.saveKeyPairToProviders(KeyPair keyPair,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor privateKeyProvider,
RSAKeyPairGeneratorInterface.GeneratedClassDescriptor publicKeyProvider,
char[] privatePassword,
char[] publicPassword)
Saves the public and private keys specified to the respective
javaFileContents fields in
the provided RSAKeyPairGeneratorInterface.GeneratedClassDescriptors, encrypting each with their
respective passwords. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
LicenseCreator.signAndSerializeLicense(License license)
Takes a license object and creates a secure and serialized version of it for delivery to the customer.
|
byte[] |
LicenseCreator.signAndSerializeLicense(License license,
char[] licensePassword)
Takes a license object and creates a secure and serialized version of it for delivery to the customer.
|
SignedLicense |
LicenseCreator.signLicense(License license)
Takes a license object and creates a secure version of it for serialization and delivery to the customer.
|
SignedLicense |
LicenseCreator.signLicense(License license,
char[] licensePassword)
Takes a license object and creates a secure version of it for serialization and delivery to the customer.
|
Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.