May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class java.security.KeyFactorySpi
This is the Service Provider Interface for a key factory; if you want to implement your own key factory, you do so by extending this class and registering your implementation with an appropriate security provider. Instances of this class are expected to know how to create key objects from external key specifications and vice versa.
public abstract class java.security.KeyFactorySpi
extends java.lang.Object {
// Constructors
public KeyFactorySpi();
// Protected Instance Methods
protected abstract PrivateKey engineGeneratePrivate(KeySpec);
protected abstract PublicKey engineGeneratePublic(KeySpec);
protected abstract KeySpec engineGetKeySpec(Key, Class);
protected abstract Key engineTranslateKey(Key);
}
KeyFactory, KeySpec