Overview Client APIs
Core Services
ICore
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
activate() Verify the activation state of the installed T1C-GCL. |
java.util.List<com.t1t.t1c.core.GclReader> |
getAuthenticationCapableReaders() Get list of readers containing cards that can authenticate |
java.util.List<com.t1t.t1c.core.GclContainer> |
getContainers() Return installed containers. |
com.t1t.t1c.core.GclStatus |
getInfo() Return T1C-GCL status information. |
java.util.List<com.t1t.t1c.core.GclReader> |
getPinVerificationCapableReaders() Get list of readers containing cards that can verify a PIN |
com.t1t.t1c.model.PlatformInfo |
getPlatformInfo() Retrieve Platform information. |
java.lang.String |
getPubKey() Retrieve the public key for the installed T1C-GCL. |
com.t1t.t1c.core.GclReader |
getReader(java.lang.String readerId) Get reader for given ID |
java.util.List<com.t1t.t1c.core.GclReader> |
getReaders() Get all readers |
java.util.List<com.t1t.t1c.core.GclReader> |
getReadersWithInsertedCard() Get all readers with inserted cards |
java.util.List<com.t1t.t1c.core.GclReader> |
getReadersWithoutInsertedCard() Get all readers without inserted cards |
java.util.List<com.t1t.t1c.core.GclReader> |
getSignCapableReaders() Get list of readers containing cards that can sign |
java.lang.String |
getVersion() Retrieve the version of the installed T1C-GCL. |
com.t1t.t1c.core.GclReader |
pollCardInserted() Poll for readers until a reader with an inserted card is found. |
com.t1t.t1c.core.GclReader |
pollCardInserted(java.lang.Integer pollIntervalInSeconds) Poll for readers until a reader with an inserted card is found. |
com.t1t.t1c.core.GclReader |
pollCardInserted(java.lang.Integer pollIntervalInSeconds, java.lang.Integer pollTimeoutInSeconds) Poll for readers until a reader with an inserted card is found. |
java.util.List<com.t1t.t1c.core.GclReader> |
pollReaders() Poll for a list of readers |
java.util.List<com.t1t.t1c.core.GclReader> |
pollReaders(java.lang.Integer pollIntervalInSeconds) Poll for list of readers |
java.util.List<com.t1t.t1c.core.GclReader> |
pollReaders(java.lang.Integer pollIntervalInSeconds, java.lang.Integer pollTimeoutInSeconds) Poll for list of readers |
java.util.List<com.t1t.t1c.core.GclReader> |
pollReadersWithCards() Poll for list of readers with inserted cards. |
java.util.List<com.t1t.t1c.core.GclReader> |
pollReadersWithCards(java.lang.Integer pollIntervalInSeconds) Poll for list of readers with inserted cards. |
java.util.List<com.t1t.t1c.core.GclReader> |
pollReadersWithCards(java.lang.Integer pollIntervalInSeconds, java.lang.Integer pollTimeoutInSeconds) Poll for list of readers with inserted cards. |
java.lang.Boolean |
setPubKey(java.lang.String publicKey) Set the public key for the installed T1C-GCL. |
Distribution Service Client
Method Summary
Modifier and Type | Method and Description |
---|---|
com.t1t.t1c.ds.DsDevice |
getDevice(java.lang.String deviceId) Returns device information stored centrally. |
java.lang.String |
getDownloadLink() Returns the download link based on the provided platform information. |
java.lang.String |
getDownloadLink(com.t1t.t1c.model.PlatformInfo info) Returns the download link based on the provided platform information. |
com.t1t.t1c.ds.DsSystemStatus |
getInfo() Returns info for the T1C Distribution Server. |
java.lang.String |
`getJWT()Returns a singed JWT for admin use cases on the T1C-GCL. |
java.lang.String |
getPublicKey() Retrieves the public key of the T1C-DS. |
java.lang.String |
getPublicKey(com.t1t.t1c.model.DsPublicKeyEncoding encoding) Retrieves the public key of the T1C-DS. |
java.lang.String |
refreshJWT(java.lang.String token) Refreshes (re-sign) a valid JWT. |
java.lang.String |
register(java.lang.String deviceId, com.t1t.t1c.ds.DsDeviceRegistrationRequest request) Registers or synchronized a device towards the T1C-DS. |
OCV Service Client
Method Summary
Modifier and Type | Method and Description |
---|---|
com.t1t.t1c.ocv.OcvChallengeRequest |
getChallenge(com.t1t.t1c.model.DigestAlgorithm digestAlgorithm) Returns the hash of a serverside-cached challenge in the requested algorithm |
com.t1t.t1c.ocv.OcvChallengeVerificationResponse |
verifyChallenge(com.t1t.t1c.ocv.OcvChallengeVerificationRequest request) Verifies the signed hash against the server challenge |
com.t1t.t1c.ocv.OcvCertificateChainValidationResponse |
validateCertificateChain(java.lang.String... certificates) Verifies a certificate chain |
Generic Interface
Class
IGenericContainer<V extends com.t1t.t1c.model.AllData, W extends com.t1t.t1c.model.AllCertificates>
Method Summary
Modifier and Type | Method and Description |
---|---|
Class<V> |
getAllDataClass() Returns the implementation class of the AllData interface. |
Class<W> |
getAllCertificatesClass() Returns the implementation class of the AllCertificates interface |
java.util.List<java.lang.String> |
getAllDataFilters() Returns the list of available data filters for the getAllData() method |
java.util.List<java.lang.String> |
getAllCertificateFilters() Returns the list of available data filters for the getAllCertificates() method |
V |
getAllData() Dumps the data on the card in a container specific object |
V |
getAllData(java.util.List<String> filters) Dumps the data on the card in a container specific object, filtered |
V |
getAllData(java.util.List<String> filters, java.util.Boolean... parseCertificates) Dumps the data on the card in a container specific object, filtered and with certificates optionally parsed |
W |
getAllCertificates() Dumps the certificates on the card in a container specific object |
W |
getAllCertificates(java.util.List<String> filters) Dumps the certificates on the card in a container specific object, filtered |
W |
getAllCertificates(java.util.List<String> filters, java.util.Boolean... parseCertificates) Dumps the certificates on the card in a container specific object, filtered and with certificates optionally parsed |
java.lang.Boolean |
verifyPin(java.lang.String... pin) Verify a PIN |
java.lang.String |
authenticate(java.lang.String data, com.t1t.t1c.model.DigestAlgorithm digestAlgorithm, java.lang.String... pin) Signs a hash with the card's authentication certificate |
java.lang.String |
sign(java.lang.String data, com.t1t.t1c.model.DigestAlgorithm digestAlgorithm, java.lang.String... pin) Signs a hash with the card's signing (non-repudiation) certificate |
java.util.map<java.lang.Integer, com.t1t.t1c.model.T1cCertificate> |
getSigningCertificateChain() Returns the certificate chain used for signing, if present |
java.util.map<java.lang.Integer, com.t1t.t1c.model.T1cCertificate> |
getAuthenticationCertificateChain() Returns the certificate chain used for authentication, if present |
com.t1t.t1c.containers.smartcards.ContainerData |
dumpData() Dumps the available container data in a container agnostic object |
com.t1t.t1c.containers.ContainerType |
getType() Get the container type for the current container |
java.lang.String |
getTypeId() Get the GCL container type string id for the current container |