| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| private static final Map | |
| pack-priv final Token |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| pack-priv static P11Key | convertKey(Token token, Key key, String algorithm)
Convert an arbitrary key of algorithm into a P11Key of token. |
| protected final <T extends KeySpec> T | engineGetKeySpec(Key key, Class<T> keySpec)
Implements abstract java. Returns a specification (key material) of the given key object. |
| protected final Key | engineTranslateKey(Key key)
Implements abstract java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
| pack-priv static long | |
| pack-priv abstract <T extends KeySpec> T | |
| pack-priv abstract <T extends KeySpec> T | |
| pack-priv abstract KeyFactory | |
| pack-priv abstract PrivateKey | |
| pack-priv abstract PublicKey |
| algorithm | back to summary |
|---|---|
| pack-priv final String algorithm | |
| keyTypes | back to summary |
|---|---|
| private static final Map<String, Long> keyTypes | |
| token | back to summary |
|---|---|
| pack-priv final Token token | |
| P11KeyFactory | back to summary |
|---|---|
| pack-priv P11KeyFactory(Token token, String algorithm) | |
| addKeyType | back to summary |
|---|---|
| private static void addKeyType(String name, long id) | |
| convertKey | back to summary |
|---|---|
| pack-priv static P11Key convertKey(Token token, Key key, String algorithm) throws InvalidKeyException Convert an arbitrary key of algorithm into a P11Key of token. Used by P11Signature.init() and RSACipher.init(). | |
| engineGetKeySpec | back to summary |
|---|---|
| protected final <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException Implements abstract java. Doc from java. Returns a specification (key material) of the given key
object.
| |
| engineTranslateKey | back to summary |
|---|---|
| protected final Key engineTranslateKey(Key key) throws InvalidKeyException Implements abstract java. Doc from java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
| |
| getPKCS11KeyType | back to summary |
|---|---|
| pack-priv static long getPKCS11KeyType(String algorithm) | |
| implGetPrivateKeySpec | back to summary |
|---|---|
| pack-priv abstract <T extends KeySpec> T implGetPrivateKeySpec(P11Key key, Class<T> keySpec, Session[] session) throws PKCS11Exception, InvalidKeySpecException | |
| implGetPublicKeySpec | back to summary |
|---|---|
| pack-priv abstract <T extends KeySpec> T implGetPublicKeySpec(P11Key key, Class<T> keySpec, Session[] session) throws PKCS11Exception, InvalidKeySpecException | |
| implGetSoftwareFactory | back to summary |
|---|---|
| pack-priv abstract KeyFactory implGetSoftwareFactory() throws GeneralSecurityException | |
| implTranslatePrivateKey | back to summary |
|---|---|
| pack-priv abstract PrivateKey implTranslatePrivateKey(PrivateKey key) throws InvalidKeyException | |
| implTranslatePublicKey | back to summary |
|---|---|
| pack-priv abstract PublicKey implTranslatePublicKey(PublicKey key) throws InvalidKeyException | |