| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ECPublicKey | Returns: a wrapped version of ecPublicKey which uses point compression.the originating public key. ecPublicKey)Convert an ECPublicKey into an ECPublicKey which always encodes with point compression. |
| ECKeyUtil | back to summary |
|---|---|
| public ECKeyUtil() | |
| createKeyWithCompression | back to summary |
|---|---|
| public static ECPublicKey createKeyWithCompression(ECPublicKey ecPublicKey) Convert an ECPublicKey into an ECPublicKey which always encodes with point compression.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ECPublicKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlgorithm()
Implements java. |
| public byte[] | getEncoded()
Implements java. null
if this key does not support encoding.
|
| public String | getFormat()
Implements java. null if this key does not support encoding.
|
| public ECParameterSpec | getParams()
Implements java. |
| public ECPoint |
| ecPublicKey | back to summary |
|---|---|
| private final ECPublicKey ecPublicKey | |
| ECPublicKeyWithCompression | back to summary |
|---|---|
| public ECPublicKeyWithCompression(ECPublicKey ecPublicKey) | |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getParams | back to summary |
|---|---|
| public ECParameterSpec getParams() Implements java. Doc from java. Returns the domain parameters associated with this key. The domain parameters are either explicitly specified or implicitly created during key generation.
| |
| getW | back to summary |
|---|---|
| public ECPoint getW() Implements java. Doc from java. Returns the public point W.
| |