Package | Description |
---|---|
iaik.pkcs.pkcs11.wrapper | |
it.trento.comune.j4sign.pkcs11 |
The j4sign layer for managing PKCS#11 tokens.
|
Modifier and Type | Class and Description |
---|---|
class |
PKCS11Exception
This is the superclass of all checked exceptions used by this package.
|
Modifier and Type | Method and Description |
---|---|
long[] |
PKCS11Signer.findCertificates()
Trova un'array di certHandle di tutti i certificati presenti sulla carta
senza che la sessione sia aperta (no password).
|
long |
PKCS11Signer.findCertificateWithNonRepudiationCritical()
Queries the current token for a certificate suitable for a legal value
subscription.
|
long |
PKCS11Signer.findCertificateWithNonRepudiationCritical(long token)
Queries the a specific token for a certificate suitable for a legal value
subscription.
|
byte[] |
PKCS11Signer.getDEREncodedCertificateFromLabel(java.lang.String label)
Returns the DER encoded certificate corresponding to the given label, as
read from the token.
|
void |
PKCS11Signer.openSession()
Opens a session on the default token.
|
void |
PKCS11Signer.openSession(char[] password)
Opens a session on the token, logging in the user.
|
long |
PKCS11Signer.openSession(long aTokenHandle)
Opens a session on a specific token.
|
Constructor and Description |
---|
PKCS11Signer(java.lang.String cryptokiLib,
long mechanism,
java.io.PrintStream out) |
PKCS11Signer(java.lang.String cryptokiLib,
long mechanism,
java.lang.String reader,
java.io.PrintStream out) |
PKCS11Signer(java.lang.String cryptokiLib,
java.io.PrintStream out) |