| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static PrivateKey | Returns: the equivalent key with explicit curve parameterskey to be converted key, String provider name to be used. providerName)Convert a passed in private EC key to have explicit parameters. |
| public static PrivateKey | Returns: the equivalent key with explicit curve parameterskey to be converted key, Provider provider to be used. provider)Convert a passed in private EC key to have explicit parameters. |
| public static PublicKey | Returns: the equivalent key with explicit curve parameterskey to be converted key, String provider name to be used. providerName)Convert a passed in public EC key to have explicit parameters. |
| public static PublicKey | Returns: the equivalent key with explicit curve parameterskey to be converted key, Provider provider to be used. provider)Convert a passed in public EC key to have explicit parameters. |
| ECKeyUtil | back to summary |
|---|---|
| public ECKeyUtil() | |
| privateToExplicitParameters | back to summary |
|---|---|
| public static PrivateKey privateToExplicitParameters(PrivateKey key, String providerName) throws IllegalArgumentException, NoSuchAlgorithmException, NoSuchProviderException Convert a passed in private EC key to have explicit parameters. If the key is already using explicit parameters it is returned.
| |
| privateToExplicitParameters | back to summary |
|---|---|
| public static PrivateKey privateToExplicitParameters(PrivateKey key, Provider provider) throws IllegalArgumentException, NoSuchAlgorithmException Convert a passed in private EC key to have explicit parameters. If the key is already using explicit parameters it is returned.
| |
| publicToExplicitParameters | back to summary |
|---|---|
| public static PublicKey publicToExplicitParameters(PublicKey key, String providerName) throws IllegalArgumentException, NoSuchAlgorithmException, NoSuchProviderException Convert a passed in public EC key to have explicit parameters. If the key is already using explicit parameters it is returned. | |
| publicToExplicitParameters | back to summary |
|---|---|
| public static PublicKey publicToExplicitParameters(PublicKey key, Provider provider) throws IllegalArgumentException, NoSuchAlgorithmException Convert a passed in public EC key to have explicit parameters. If the key is already using explicit parameters it is returned. | |
| Modifier and Type | Field and Description |
|---|---|
| private Throwable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getCause()
Overrides java. null if the
cause is nonexistent or unknown.
|
| cause | back to summary |
|---|---|
| private Throwable cause Hides java. | |
| UnexpectedException | back to summary |
|---|---|
| pack-priv UnexpectedException(Throwable cause) | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |