| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv abstract static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final Map | |
| private final P11SecretKeyFactory. | |
| private final Token |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static P11Key | convertKey(Token token, Key key, String svcAlgo)
Convert an arbitrary key of algorithm into a P11Key of provider. |
| pack-priv static P11Key | convertKey(Token token, Key key, String svcAlgo, CK_ATTRIBUTE[] extraAttrs)
Convert an arbitrary key of algorithm w/ custom attributes into a P11Key of provider. |
| private static P11Key | createKey(Token token, byte[] encoded, String algorithm, P11SecretKeyFactory.
|
| pack-priv static P11Key. | |
| protected SecretKey | engineGenerateSecret(KeySpec keySpec)
Implements abstract javax. Generates a |
| protected KeySpec | engineGetKeySpec(SecretKey key, Class<?> keySpec)
Implements abstract javax. Returns a specification (key material) of the given key object in the requested format. |
| protected SecretKey | engineTranslateKey(SecretKey key)
Implements abstract javax. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret key factory. |
| pack-priv static void | |
| private SecretKey | |
| pack-priv static P11SecretKeyFactory. | |
| pack-priv static P11SecretKeyFactory. | |
| private byte[] | |
| pack-priv static P11SecretKeyFactory. | |
| pack-priv static long | |
| pack-priv static P11SecretKeyFactory. | |
| private static PBEKeySpec | |
| pack-priv static long | |
| private static void |
| algorithm | back to summary |
|---|---|
| private final String algorithm | |
| keyInfo | back to summary |
|---|---|
| private static final Map<String, P11SecretKeyFactory. | |
| svcPbeKi | back to summary |
|---|---|
| private final P11SecretKeyFactory. | |
| token | back to summary |
|---|---|
| private final Token token | |
| P11SecretKeyFactory | back to summary |
|---|---|
| pack-priv P11SecretKeyFactory(Token token, String algorithm) | |
| convertKey | back to summary |
|---|---|
| pack-priv static P11Key convertKey(Token token, Key key, String svcAlgo) throws InvalidKeyException Convert an arbitrary key of algorithm into a P11Key of provider. Used in engineTranslateKey(), P11Cipher.init(), and P11Mac.init(). | |
| convertKey | back to summary |
|---|---|
| pack-priv static P11Key convertKey(Token token, Key key, String svcAlgo, CK_ATTRIBUTE[] extraAttrs) throws InvalidKeyException Convert an arbitrary key of algorithm w/ custom attributes into a P11Key of provider. Used in P11KeyStore.storeSkey. | |
| createKey | back to summary |
|---|---|
| private static P11Key createKey(Token token, byte[] encoded, String algorithm, P11SecretKeyFactory. | |
| derivePBEKey | back to summary |
|---|---|
| pack-priv static P11Key. | |
| engineGenerateSecret | back to summary |
|---|---|
| protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException Implements abstract javax. Doc from javax. Generates a
| |
| engineGetKeySpec | back to summary |
|---|---|
| protected KeySpec engineGetKeySpec(SecretKey key, Class<?> keySpec) throws InvalidKeySpecException Implements abstract javax. Doc from javax. Returns a specification (key material) of the given key object in the requested format.
| |
| engineTranslateKey | back to summary |
|---|---|
| protected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException Implements abstract javax. Doc from javax. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret key factory.
| |
| fixDESParity | back to summary |
|---|---|
| pack-priv static void fixDESParity(byte[] key, int offset) | |
| generateDESSecret | back to summary |
|---|---|
| private SecretKey generateDESSecret(byte[] keyBytes, String desAlgo) throws InvalidKeySpecException | |
| getHKDFKeyInfo | back to summary |
|---|---|
| pack-priv static P11SecretKeyFactory. | |
| getHMACKeyInfo | back to summary |
|---|---|
| pack-priv static P11SecretKeyFactory. | |
| getKeyBytes | back to summary |
|---|---|
| private byte[] getKeyBytes(SecretKey key) throws InvalidKeySpecException | |
| getKeyInfo | back to summary |
|---|---|
| pack-priv static P11SecretKeyFactory. | |
| getKeyType | back to summary |
|---|---|
| pack-priv static long getKeyType(String algorithm) | |
| getPBEKeyInfo | back to summary |
|---|---|
| pack-priv static P11SecretKeyFactory. | |
| getPbeKeySpec | back to summary |
|---|---|
| private static PBEKeySpec getPbeKeySpec(PBEKey pbeKey) | |
| getPKCS11KeyType | back to summary |
|---|---|
| pack-priv static long getPKCS11KeyType(String algorithm) | |
| putKeyInfo | back to summary |
|---|---|
| private static void putKeyInfo(P11SecretKeyFactory. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CK_ATTRIBUTE[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| attr | back to summary |
|---|---|
| private static final CK_ATTRIBUTE[] attr | |
| AESPBEKeyInfo | back to summary |
|---|---|
| pack-priv AESPBEKeyInfo(String algo, long prfMech, int keyLen) | |
| Modifier and Type | Field and Description |
|---|---|
| public final long | |
| public final int | |
| public static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| hmacMech | back to summary |
|---|---|
| public final long hmacMech | |
| prkLen | back to summary |
|---|---|
| public final int prkLen | |
| UNKNOWN_KEY_TYPE | back to summary |
|---|---|
| public static final long UNKNOWN_KEY_TYPE | |
| HKDFKeyInfo | back to summary |
|---|---|
| pack-priv HKDFKeyInfo(String algo, P11SecretKeyFactory. | |
| Modifier and Type | Field and Description |
|---|---|
| public final int | |
| public final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| keyLen | back to summary |
|---|---|
| public final int keyLen | |
| mech | back to summary |
|---|---|
| public final long mech | |
| HMACKeyInfo | back to summary |
|---|---|
| pack-priv HMACKeyInfo(String algo, long mech, int keyLen) | |
| Modifier and Type | Field and Description |
|---|---|
| public final String | |
| public final long | |
| public final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean |
| algo | back to summary |
|---|---|
| public final String algo | |
| keyGenMech | back to summary |
|---|---|
| public final long keyGenMech | |
| keyType | back to summary |
|---|---|
| public final long keyType | |
| KeyInfo | back to summary |
|---|---|
| pack-priv KeyInfo(String algo, long keyType) | |
| KeyInfo | back to summary |
|---|---|
| pack-priv KeyInfo(String algo, long keyType, long keyGenMech) | |
| checkUse | back to summary |
|---|---|
| pack-priv static boolean checkUse(P11SecretKeyFactory. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CK_ATTRIBUTE[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| attr | back to summary |
|---|---|
| private static final CK_ATTRIBUTE[] attr | |
| P12MacPBEKeyInfo | back to summary |
|---|---|
| pack-priv P12MacPBEKeyInfo(String algo, long kdfMech, P11SecretKeyFactory. | |
| Modifier and Type | Field and Description |
|---|---|
| public final CK_ATTRIBUTE[] | |
| public static final long | |
| public final long | |
| public final int | |
| public final long |
| Access | Constructor and Description |
|---|---|
| protected | PBEKeyInfo(String algo, long kdfMech, long prfMech, long keyType, int keyLen, CK_ATTRIBUTE[] extraAttrs)
|
| extraAttrs | back to summary |
|---|---|
| public final CK_ATTRIBUTE[] extraAttrs | |
| INVALID_PRF | back to summary |
|---|---|
| public static final long INVALID_PRF | |
| kdfMech | back to summary |
|---|---|
| public final long kdfMech | |
| keyLen | back to summary |
|---|---|
| public final int keyLen | |
| prfMech | back to summary |
|---|---|
| public final long prfMech | |
| PBEKeyInfo | back to summary |
|---|---|
| protected PBEKeyInfo(String algo, long kdfMech, long prfMech, long keyType, int keyLen, CK_ATTRIBUTE[] extraAttrs) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CK_ATTRIBUTE[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| attr | back to summary |
|---|---|
| private static final CK_ATTRIBUTE[] attr | |
| PBKDF2KeyInfo | back to summary |
|---|---|
| pack-priv PBKDF2KeyInfo(String algo, long prfMech) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| TLSKeyInfo | back to summary |
|---|---|
| pack-priv TLSKeyInfo(String algo) | |