public class DnieECPrivateKey extends DniePrivateKey implements java.security.interfaces.ECPrivateKey
Modifier and Type | Field and Description |
---|---|
protected SignatureNotification |
_signatureNotification |
_privateKeyReference
Constructor and Description |
---|
DnieECPrivateKey(PrivateKeyReference keyReference,
java.security.interfaces.ECPublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Returns the standard algorithm name for this key.
|
byte[] |
getEncoded()
Returns the key in its primary encoding format, or null
if this key does not support encoding.
|
java.lang.String |
getFormat()
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
|
java.security.spec.ECParameterSpec |
getParams()
Returns the domain parameters associated
with this key.
|
java.math.BigInteger |
getS()
Returns the private value S.
|
getAlias, getId, getInstance, getPath, sign, toString
protected SignatureNotification _signatureNotification
public DnieECPrivateKey(PrivateKeyReference keyReference, java.security.interfaces.ECPublicKey publicKey)
public java.math.BigInteger getS()
java.security.interfaces.ECPrivateKey
getS
in interface java.security.interfaces.ECPrivateKey
public java.lang.String getAlgorithm()
java.security.Key
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
java.security.Key
"X.509"
. Similarly,
the name of the ASN.1 data format for private keys is
PrivateKeyInfo,
as defined by the PKCS #8 standard; in this case, the returned format is
"PKCS#8"
.getFormat
in interface java.security.Key
public byte[] getEncoded()
java.security.Key
getEncoded
in interface java.security.Key
public java.security.spec.ECParameterSpec getParams()
java.security.interfaces.ECKey
getParams
in interface java.security.interfaces.ECKey