Example usage for Java java.security KeyFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
PrivateKey | generatePrivate(KeySpec keySpec) Generates a private key object from the provided key specification (key material). |
PublicKey | generatePublic(KeySpec keySpec) Generates a public key object from the provided key specification (key material). |
String | getAlgorithm() Gets the name of the algorithm associated with this KeyFactory . |
KeyFactory | getInstance(String algorithm) Returns a KeyFactory object that converts public/private keys of the specified algorithm. |
KeyFactory | getInstance(String algorithm, String provider) Returns a KeyFactory object that converts public/private keys of the specified algorithm. |
KeyFactory | getInstance(String algorithm, Provider provider) Returns a KeyFactory object that converts public/private keys of the specified algorithm. |
T | getKeySpec(Key key, Class Returns a specification (key material) of the given key object. |
Provider | getProvider() Returns the provider of this key factory object. |