| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | EdDSAParameterSpec(boolean
whether the prehash mode is specified. prehash)Construct an |
| public | EdDSAParameterSpec(boolean
whether the prehash mode is specified. prehash, byte[] the context is copied and bound to the signature. context)Construct an |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | Returns: Optional contains a copy of the context or empty
if context is null.Get the context that the signature will use. |
| public boolean | Returns: whether the prehash mode is specified.Get whether the prehash mode is specified. |
| context | back to summary |
|---|---|
| private final byte[] context | |
| prehash | back to summary |
|---|---|
| private final boolean prehash | |
| EdDSAParameterSpec | back to summary |
|---|---|
| public EdDSAParameterSpec(boolean prehash) Construct an
| |
| EdDSAParameterSpec | back to summary |
|---|---|
| public EdDSAParameterSpec(boolean prehash, byte[] context) Construct an
| |
| getContext | back to summary |
|---|---|
| public Optional Get the context that the signature will use.
| |
| isPrehash | back to summary |
|---|---|
| public boolean isPrehash() Get whether the prehash mode is specified.
| |