| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final NamedParameterSpec |
| Access | Constructor and Description |
|---|---|
| public | EdECPrivateKeySpec(NamedParameterSpec
the algorithm parameters. params, byte[] the key as a byte array. This array is copied
to protect against subsequent modification. bytes)Construct a private key spec using the supplied parameters and bit string. |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public NamedParameterSpec | Returns: the algorithm parameters.Get the algorithm parameters that define the curve and other settings. |
| bytes | back to summary |
|---|---|
| private final byte[] bytes | |
| params | back to summary |
|---|---|
| private final NamedParameterSpec params | |
| EdECPrivateKeySpec | back to summary |
|---|---|
| public EdECPrivateKeySpec(NamedParameterSpec params, byte[] bytes) Construct a private key spec using the supplied parameters and bit string.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Get the byte array representing the private key. A new copy of the array is returned each time this method is called.
| |
| getParams | back to summary |
|---|---|
| public NamedParameterSpec getParams() Get the algorithm parameters that define the curve and other settings.
| |