Name
Class java.security.KeyFactorySpi
Description
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.
Class Definition
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); }
See Also
KeyFactory
, KeySpec
Get Java Cryptography now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.