| 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. Returns the standard algorithm name for this key. |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public ECParameterSpec | getParams()
Overrides default java. Returns the parameters associated with this key. |
| 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() Overrides default java. Doc from java. Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.
| |
| getW | back to summary |
|---|---|
| public ECPoint getW() Implements java. Doc from java. Returns the public point W.
| |