Home | History | Annotate | Download | only in security

Lines Matching refs:Key

32      * Generates a instance of {@code PublicKey} from the given key
36 * the specification of the public key.
37 * @return the public key.
45 * Generates a instance of {@code PrivateKey} from the given key
49 * the specification of the private key.
50 * @return the private key.
58 * Returns the key specification for the specified key.
60 * @param key
61 * the key from which the specification is requested.
64 * @return the key specification for the specified key.
66 * if the key can not be processed, or the requested requested
67 * {@code KeySpec} is inappropriate for the given key.
69 protected abstract <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec)
71 //FIXME 1.5 signature: protected abstract <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException
74 * Translates the given key into a key from this key factory.
76 * @param key
77 * the key to translate.
78 * @return the translated key.
80 * if the specified key can not be translated by this key
83 protected abstract Key engineTranslateKey(Key key) throws InvalidKeyException;