java.security.KeyFactory which uses BoringSSL to perform all the
operations.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected PrivateKey | engineGeneratePrivate(KeySpec
the specification (key material) of the private key. keySpec)Implements abstract java. |
| protected PublicKey | engineGeneratePublic(KeySpec
the specification (key material) of the public key. keySpec)Implements abstract java. |
| protected <T extends KeySpec> T | engineGetKeySpec(Key
the key. key, Class<T> the specification class in which
the key material should be returned. keySpec)Implements abstract java. |
| protected Key | engineTranslateKey(Key
the key whose provider is unknown or untrusted. key)Implements abstract java. |
| OpenSSLRSAKeyFactory | back to summary |
|---|---|
| public OpenSSLRSAKeyFactory() | |
| engineGeneratePrivate | back to summary |
|---|---|
| protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException Implements abstract java. Doc from java. Generates a private key object from the provided key specification (key material).
| |
| engineGeneratePublic | back to summary |
|---|---|
| protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException Implements abstract java. Doc from java. Generates a public key object from the provided key specification (key material).
| |
| engineGetKeySpec | back to summary |
|---|---|
| protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException Implements abstract java. Doc from java. Returns a specification (key material) of the given key
object.
| |
| engineTranslateKey | back to summary |
|---|---|
| protected Key engineTranslateKey(Key key) throws InvalidKeyException Implements abstract java. Doc from java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
| |