@Immutable public abstract class BasicV2LicenseManagementContext extends BasicLicenseManagementContext
| Modifier | Constructor and Description |
|---|---|
protected |
BasicV2LicenseManagementContext(String subject) |
| Modifier and Type | Method and Description |
|---|---|
Transformation |
compression()
Returns a compression.
|
Encryption |
encryption(PbeParameters parameters)
Returns an encryption for the given PBE parameters.
|
License |
license()
Returns a new license.
|
String |
pbeAlgorithm()
Returns the name of the default Password Based Encryption (PBE)
algorithm for the license key format.
|
BasicRepository |
repository()
Returns a new repository to use for
licenses.
|
String |
storeType()
Returns the name of the default key store type,
for example
"JCEKS" or "JKS". |
authentication, authorization, cachePeriodMillis, classLoader, consumer, initialization, now, policy, subject, validation, vendorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcodecprotected BasicV2LicenseManagementContext(String subject)
public final Transformation compression()
The implementation in the class BasicV2LicenseManagementContext
returns a compression for V2 format license keys.
public final Encryption encryption(PbeParameters parameters)
The implementation in the class BasicV2LicenseManagementContext
returns an encryption for V2 format license keys with the given PBE
parameters.
parameters - the PBE parameters.public License license()
LicenseManagementContextpublic final String pbeAlgorithm()
The implementation in the class BasicV2LicenseManagementContext
returns "PBEWithSHA1AndDESede".
public final BasicRepository repository()
The implementation in the class BasicV2LicenseManagementContext
returns a new BasicRepository.
repository in interface RepositoryProviderrepository in class BasicLicenseManagementContextpublic final String storeType()
"JCEKS" or "JKS".
You can override this default value when configuring the key store based
authentication with the license vendor context or the license consumer
context.
The implementation in the class BasicV2LicenseManagementContext
returns "JCEKS".
LicenseVendorContext.keyStore(net.java.truelicense.core.io.Source, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString),
LicenseConsumerContext.keyStore(net.java.truelicense.core.io.Source, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString, java.lang.String),
LicenseConsumerContext.ftpKeyStore(net.java.truelicense.core.io.Source, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString),
LicenseApplicationContext.KsbaInjection.storeType(java.lang.String)Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.