public final class EdDSAPrivateKeySpec extends Object implements KeySpec
EdDSAKeyPairGenerator
,
EdKey
,
EdDSAPrivateKey
,
EdPublicKey
,
EdPublicKeySpec
Constructor and Description |
---|
EdDSAPrivateKeySpec(byte[] seed,
EdParameterSpec params)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
EdParameterSpec |
getParams()
Return the associated curve domain parameters.
|
byte[] |
getSeed()
Return the secret seed.
|
public EdDSAPrivateKeySpec(byte[] seed, EdParameterSpec params)
seed
- the private key, i.e. seedparams
- the domain parameterspublic byte[] getSeed()
public EdParameterSpec getParams()
Copyright © 2011–2022 Stiftung SIC. All rights reserved.