Package | Description |
---|---|
iaik.pkcs.pkcs11.provider |
This package is the main package and includes the JCE provider implementation
class, which is
IAIKPkcs11 . |
iaik.pkcs.pkcs11.provider.keyfactories |
This package contains the implementation classes for key factories and secret
key factories.
|
iaik.pkcs.pkcs11.provider.macs |
This package contains the implementation classes for MACs.
|
iaik.pkcs.pkcs11.provider.random |
This package contains the implementation classes for secure randoms.
|
iaik.pkcs.pkcs11.provider.signatures |
This package contains the implementation classes for signatures.
|
iaik.pkcs.pkcs11.provider.signatures.rsa |
Modifier and Type | Class and Description |
---|---|
class |
IAIKPkcs11AuthenticationCanceledException
This exception indicates the provider could not get the required authentication status because
the user canceled the PIN entry.
|
class |
IAIKPkcs11AuthenticationException
This exception indicates the provider could not get the required authentication status to
complete the current operation.
|
class |
IAIKPkcs11TokenUnavailableException
Indicates that the required token is not available or no longer available, it may be removed from
the slot.
|
class |
NonExtractableComponentException
This exception signals that there was an attempt to retrieve a key component which cannot be
extracted from the token.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TokenKeyStoreFastSpi.ensureCurrentTables()
Overwrites ensureCurrentTables() of TokenKeyStoreSpi in order to do no updating.
|
protected void |
TokenKeyStoreSpi.ensureCurrentTables()
This method calls method update().
|
protected void |
TokenKeyStoreSpi.ensureReadSession()
This method ensures that an appropriate session is open.
|
protected void |
TokenKeyStoreSpi.ensureWriteSession()
This method ensures that an appropriate session is open.
|
static iaik.pkcs.pkcs11.Module |
IAIKPkcs11.getModule(java.util.Properties configuration)
Get the PKCS#11 module of the given configuration properties.
|
void |
IAIKPkcs11.initialize()
Initializes this provider based on its current configuration.
|
void |
TokenKeyStore.updateKeystore()
This method updates the key and certificate tables even if token did not change.
|
Constructor and Description |
---|
IAIKPkcs11()
Default constructor.
|
IAIKPkcs11(java.util.Properties configuration)
Constructor for the provider that takes its configuration as a argument.
|
IAIKPkcs112()
Just calls the corresponding super-constructor.
|
IAIKPkcs112(java.util.Properties configuration)
Just calls the corresponding super-constructor.
|
IAIKPkcs113()
Just calls the corresponding super-constructor.
|
IAIKPkcs113(java.util.Properties configuration)
Just calls the corresponding super-constructor.
|
IAIKPkcs114()
Just calls the corresponding super-constructor.
|
IAIKPkcs114(java.util.Properties configuration)
Just calls the corresponding super-constructor.
|
TokenManager(IAIKPkcs11 myProvider)
Create and initialize this token manager.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
SecretKeyFactory.extractKeyMaterial(iaik.pkcs.pkcs11.objects.Key keyObject)
Get the key material of the given key object.
|
protected void |
RsaKeyFactory.verifyPrivateCRTKeyExtractable(iaik.pkcs.pkcs11.objects.RSAPrivateKey key)
Verifies that the CRT components of the key are present and extractable; i.e.
|
protected void |
DhKeyFactory.verifyPrivateKeyExtractable(iaik.pkcs.pkcs11.objects.DHPrivateKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
DsaKeyFactory.verifyPrivateKeyExtractable(iaik.pkcs.pkcs11.objects.DSAPrivateKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
EcDsaKeyFactory.verifyPrivateKeyExtractable(iaik.pkcs.pkcs11.objects.ECDSAPrivateKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
RsaKeyFactory.verifyPrivateKeyExtractable(iaik.pkcs.pkcs11.objects.RSAPrivateKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
DhKeyFactory.verifyPublicKeyExtractable(iaik.pkcs.pkcs11.objects.DHPublicKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
DsaKeyFactory.verifyPublicKeyExtractable(iaik.pkcs.pkcs11.objects.DSAPublicKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
EcDsaKeyFactory.verifyPublicKeyExtractable(iaik.pkcs.pkcs11.objects.ECDSAPublicKey key)
Verifies that the components of the key are present and extractable; i.e.
|
protected void |
RsaKeyFactory.verifyPublicKeyExtractable(iaik.pkcs.pkcs11.objects.RSAPublicKey key)
Verifies that the components of the key are present and extractable; i.e.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PKCS11Mac.pkcs11Prepare()
Pkcs11 prepare.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PKCS11RandomSpi.engineNextBytes(byte[] arrayToFill)
Generates a user-specified number of random bytes.
|
protected void |
PKCS11SeededRandomSpi.engineNextBytes(byte[] arrayToFill)
Generates a user-specified number of random bytes from the software delegate.
|
protected void |
PKCS11RandomSpi.engineSetSeed(byte[] seedBytes)
Reseeds this random object.
|
protected void |
PKCS11SeededRandomSpi.engineSetSeed(byte[] seedBytes)
Reseeds the software delegate of this object.
|
protected void |
PKCS11RandomNoSetSeedSpi.engineSetSeed(byte[] seedBytes)
Reseeds this random object if it uses a software delegate to process the requests; if it uses
the token, any given seed bytes are ignored.
|
Constructor and Description |
---|
PKCS11Random()
This default constructor always links this random class to the first provider instance, because
there are no means in the JCE to find out our provider instance.
|
PKCS11Random(IAIKPkcs11 provider)
This constructor links this random class to the given provider instance.
|
PKCS11Random(java.security.SecureRandomSpi pkcs11RandomImplementation,
IAIKPkcs11 provider)
This constructor links this random class to the given provider instance.
|
PKCS11RandomNoSetSeedSpi()
This default constructor always links this random class to the first provider instance, because
there are no means in the JCE to find out our provider instance.
|
PKCS11RandomNoSetSeedSpi(TokenManager tokenManager)
This constructor links this random class to the given token manager.
|
PKCS11RandomSpi()
This default constructor always links this random class to the first provider instance, because
there are no means in the JCE to find out our provider instance.
|
PKCS11RandomSpi(TokenManager tokenManager)
This constructor links this random class to the given token manager.
|
PKCS11SeededRandomSpi()
This default constructor always links this random class to the first provider instance, because
there are no means in the JCE to find out our provider instance.
|
PKCS11SeededRandomSpi(TokenManager tokenManager)
This constructor links this random class to the given token manager.
|
Modifier and Type | Method and Description |
---|---|
protected java.security.MessageDigest |
ExternalHashSignature.getMessageDigest()
Returns the Message digest engine that this object uses to hash the data.
|
protected byte[] |
ExternalHashSignature.prepareHash(byte[] rawHash)
Prepares the hash for input to the signature function.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
ExternalRipeMd128RsaSignature.prepareHash(byte[] rawHash)
Wraps the hash into a DigestInfo object.
|
protected byte[] |
ExternalMd2RsaSignature.prepareHash(byte[] rawHash)
Wraps the hash into a DigestInfo object.
|
protected byte[] |
ExternalSha1RsaX931Signature.prepareHash(byte[] rawHash)
Prepares the hash for input to the signature function.
|
protected byte[] |
ExternalMd5RsaSignature.prepareHash(byte[] rawHash)
Wraps the hash into a DigestInfo object.
|
protected byte[] |
ExternalRipeMd160RsaSignature.prepareHash(byte[] rawHash)
Wraps the hash into a DigestInfo object.
|
protected byte[] |
ExternalRipeMd256RsaSignature.prepareHash(byte[] rawHash)
Wraps the hash into a DigestInfo object.
|
IAIK JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4