/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }
/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }
/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }
/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }
/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }
/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }
/** * Generates a instance of {@code PrivateKey} from the given key * specification. * * @param keySpec * the specification of the private key. * @return the private key. * @throws InvalidKeySpecException * if the specified {@code keySpec} is invalid. */ public final PrivateKey generatePrivate(KeySpec keySpec) throws InvalidKeySpecException { return spiImpl.engineGeneratePrivate(keySpec); }