| java.lang.Object | |
| ↳ | java.security.KeyFactorySpi |
KeyFactorySpi is the Service Provider Interface (SPI) definition for
KeyFactory.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates a instance of
PrivateKey from the given key
specification.
| |||||||||||
Generates a instance of
PublicKey from the given key
specification.
| |||||||||||
Returns the key specification for the specified key.
| |||||||||||
Translates the given key into a key from this key factory.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Generates a instance of PrivateKey from the given key
specification.
| keySpec | the specification of the private key. |
|---|
| InvalidKeySpecException | if the specified keySpec is invalid.
|
|---|
Generates a instance of PublicKey from the given key
specification.
| keySpec | the specification of the public key. |
|---|
| InvalidKeySpecException | if the specified keySpec is invalid.
|
|---|
Returns the key specification for the specified key.
| key | the key from which the specification is requested. |
|---|---|
| keySpec | the type of the requested KeySpec. |
| InvalidKeySpecException | if the key can not be processed, or the requested requested
KeySpec is inappropriate for the given key.
|
|---|
Translates the given key into a key from this key factory.
| key | the key to translate. |
|---|
| InvalidKeyException | if the specified key can not be translated by this key factory. |
|---|