|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.cinnabarsystems.clm.LicenseFactory
public class LicenseFactory
Class used to programatically generate license files
| Constructor Summary | |
|---|---|
LicenseFactory()
|
|
| Method Summary | |
|---|---|
static void |
generateLicense(InputStream licenseSpecificationInputStream,
InputStream privateKeyInputStream,
OutputStream licenseOutputStream)
Generate a license file from a stream containing a license specification and a stream containing an encoded private key. |
static void |
generateLicense(InputStream licenseSpecificationInputStream,
OutputStream licenseOutputStream,
OutputStream privateKeyOutputStream,
OutputStream publicKeyOutputStream)
Generate a license file and new key pair from a stream containing a license specification. |
static void |
generateLicense(InputStream licenseSpecificationInputStream,
PrivateKey signingKey,
OutputStream licenseOutputStream)
Generate a license file from a stream containing a license specification and an existing PrivateKey object. |
static void |
generateLicense(License license,
InputStream privateKeyInputStream,
OutputStream licenseOutputStream)
Generate a license file from an existing License object and a stream containing an encoded private key. |
static void |
generateLicense(License license,
OutputStream licenseOutputStream,
OutputStream privateKeyOutputStream,
OutputStream publicKeyOutputStream)
Generate a license file and new key pair from an existing License object |
static void |
generateLicense(License license,
PrivateKey signingKey,
OutputStream licenseOutputStream)
Generate a license file from existing License and PrivateKey objects. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LicenseFactory()
| Method Detail |
|---|
public static void generateLicense(License license,
PrivateKey signingKey,
OutputStream licenseOutputStream)
throws IOException,
GeneralSecurityException
license - License object describing the desired license
specificationssigningKey - the private key used to sign the licenselicenseOutputStream - stream to which the license file should be
written
IOException
GeneralSecurityException
public static void generateLicense(InputStream licenseSpecificationInputStream,
PrivateKey signingKey,
OutputStream licenseOutputStream)
throws IOException,
GeneralSecurityException,
LicenseManagerException
licenseSpecificationInputStream - stream containing the desired
license specifications in the Cinnabar License Specification FormatsigningKey - the private key used to sign the licenselicenseOutputStream - stream to which the license file should be
written
IOException
GeneralSecurityException
LicenseManagerException
public static void generateLicense(License license,
InputStream privateKeyInputStream,
OutputStream licenseOutputStream)
throws IOException,
GeneralSecurityException
license - License object describing the desired license
specificationsprivateKeyInputStream - stream from which an encoded private key
can be read and used to sign the licenselicenseOutputStream - stream to which the license file should be
written
IOException
GeneralSecurityException
public static void generateLicense(InputStream licenseSpecificationInputStream,
InputStream privateKeyInputStream,
OutputStream licenseOutputStream)
throws IOException,
GeneralSecurityException,
LicenseManagerException
licenseSpecificationInputStream - stream containing the desired
license specifications in the Cinnabar License Specification FormatprivateKeyInputStream - stream from which an encoded private key
can be read and used to sign the licenselicenseOutputStream - stream to which the license file should be
written
IOException
GeneralSecurityException
LicenseManagerException
public static void generateLicense(License license,
OutputStream licenseOutputStream,
OutputStream privateKeyOutputStream,
OutputStream publicKeyOutputStream)
throws IOException,
GeneralSecurityException
license - License object describing the desired license
specificationslicenseOutputStream - stream to which the license file should be
writtenprivateKeyOutputStream - stream to which the encoded new private
key should be writtenpublicKeyOutputStream - stream to which the encoded new public key
should be written
IOException
GeneralSecurityException
public static void generateLicense(InputStream licenseSpecificationInputStream,
OutputStream licenseOutputStream,
OutputStream privateKeyOutputStream,
OutputStream publicKeyOutputStream)
throws IOException,
GeneralSecurityException,
LicenseManagerException
licenseSpecificationInputStream - stream containing the desired
license specifications in the Cinnabar License Specification FormatlicenseOutputStream - stream to which the license file should be
writtenprivateKeyOutputStream - stream to which the encoded new private
key should be writtenpublicKeyOutputStream - stream to which the encoded new public key
should be written
IOException
GeneralSecurityException
LicenseManagerException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||