public final class GpfDsFactory extends Object
Constructor and Description |
---|
GpfDsFactory() |
Modifier and Type | Method and Description |
---|---|
GpfDsDevice |
createGpfDsDevice(CapToken token)
Creates a Hardware or Software Gemalto Proprietary Framework (GPF)
Dynamic Signature (DS) device.
|
GpfDsDevice |
createSoftGpfDsDevice(SoftCapToken token,
SoftGpfDsSettings settings)
Creates a Software Gemalto Proprietary Framework (GPF) Dynamic Signature
(DS) device using the given settings.
|
SoftGpfDsSettings |
createSoftGpfDsSettings()
Create a mutable copy of the default GPF DS settings used for soft tokens.
|
public SoftGpfDsSettings createSoftGpfDsSettings()
public GpfDsDevice createGpfDsDevice(CapToken token) throws IdpException
If the token is soft, i.e
Token.isSoft()
is true
,
the default GPF DS settings are used otherwise the device settings are
used.
token
- The CAP tokenIdpException
- this is generic exception, you can directly catch this
exception or catch each specific exception below.IdpStorageException
- when there is a database operation failure.DeviceFingerprintException
- when the token's fingerprint checksum does not match.PasswordManagerException
- when the TOKEN domain is not logged in (using one of the
password managers)public GpfDsDevice createSoftGpfDsDevice(SoftCapToken token, SoftGpfDsSettings settings) throws IdpException
Token.isSoft()
is true
.token
- the soft tokensettings
- the GPF DS settingsIdpException
- this is generic exception, you can directly catch this
exception or catch each specific exception below.IdpStorageException
- when there is a database operation failure.DeviceFingerprintException
- when the token's fingerprint checksum does not match.PasswordManagerException
- when the TOKEN domain is not logged in (using one of the
password managers)