/** * Determine whether the given password can be converted to the given key specification type by this factory. * * @param password the password object * @param specType the specification class * @param <T> the specification type * @return {@code true} if the password can be converted, {@code false} otherwise */ public <T extends KeySpec> boolean convertibleToKeySpec(Password password, Class<T> specType) { return spi.engineConvertibleToKeySpec(algorithm, password, specType); }
/** * Determine whether the given password can be converted to the given key specification type by this factory. * * @param password the password object * @param specType the specification class * @param <T> the specification type * @return {@code true} if the password can be converted, {@code false} otherwise */ public <T extends KeySpec> boolean convertibleToKeySpec(Password password, Class<T> specType) { return spi.engineConvertibleToKeySpec(algorithm, password, specType); }
/** * Determine whether the given password can be converted to the given key specification type by this factory. * * @param password the password object * @param specType the specification class * @param <T> the specification type * @return {@code true} if the password can be converted, {@code false} otherwise */ public <T extends KeySpec> boolean convertibleToKeySpec(Password password, Class<T> specType) { return spi.engineConvertibleToKeySpec(algorithm, password, specType); }
/** * Determine whether the given password can be converted to the given key specification type by this factory. * * @param password the password object * @param specType the specification class * @param <T> the specification type * @return {@code true} if the password can be converted, {@code false} otherwise */ public <T extends KeySpec> boolean convertibleToKeySpec(Password password, Class<T> specType) { return spi.engineConvertibleToKeySpec(algorithm, password, specType); }