Lines Matching refs:keySpec
69 protected final <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec)
72 if ((key == null) || (keySpec == null)) {
74 ("key and keySpec must not be null");
77 if (PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)
78 || X509EncodedKeySpec.class.isAssignableFrom(keySpec)) {
80 return (T)implGetSoftwareFactory().getKeySpec(key, keySpec);
95 return (T)implGetPublicKeySpec(p11Key, keySpec, session);
97 return (T)implGetPrivateKeySpec(p11Key, keySpec, session);
141 abstract KeySpec implGetPublicKeySpec(P11Key key, Class keySpec,
144 abstract KeySpec implGetPrivateKeySpec(P11Key key, Class keySpec,