/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }
/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }
/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }
/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }
/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }
/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }
/** * Returns the key specification for the specified key. * * @param key * the key from which the specification is requested. * @param keySpec * the type of the requested {@code KeySpec}. * @return the key specification for the specified key. * @throws InvalidKeySpecException * if the key can not be processed, or the requested requested * {@code KeySpec} is inappropriate for the given key. */ public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { return spiImpl.engineGetKeySpec(key, keySpec); }