public class BCECGOST3410PrivateKey extends Object implements ECPrivateKey, ECPrivateKey, PKCS12BagAttributeCarrier, ECPointEncoder
| Modifier | Constructor and Description |
|---|---|
protected |
BCECGOST3410PrivateKey() |
|
BCECGOST3410PrivateKey(BCECGOST3410PrivateKey key) |
|
BCECGOST3410PrivateKey(ECPrivateKey key) |
|
BCECGOST3410PrivateKey(ECPrivateKeySpec spec) |
|
BCECGOST3410PrivateKey(ECPrivateKeySpec spec) |
|
BCECGOST3410PrivateKey(String algorithm,
ECPrivateKeyParameters params) |
|
BCECGOST3410PrivateKey(String algorithm,
ECPrivateKeyParameters params,
BCECGOST3410PublicKey pubKey,
ECParameterSpec spec) |
|
BCECGOST3410PrivateKey(String algorithm,
ECPrivateKeyParameters params,
BCECGOST3410PublicKey pubKey,
ECParameterSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
ASN1Encodable |
getBagAttribute(ASN1ObjectIdentifier oid) |
Enumeration |
getBagAttributeKeys() |
BigInteger |
getD()
return the private value D.
|
byte[] |
getEncoded()
Return a PKCS8 representation of the key.
|
String |
getFormat()
return the encoding format we produce in getEncoded().
|
ECParameterSpec |
getParameters()
return a parameter specification representing the EC domain parameters
for the key.
|
ECParameterSpec |
getParams() |
BigInteger |
getS() |
int |
hashCode() |
void |
setBagAttribute(ASN1ObjectIdentifier oid,
ASN1Encodable attribute) |
void |
setPointFormat(String style)
Set the formatting for encoding of points.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, isDestroyedprotected BCECGOST3410PrivateKey()
public BCECGOST3410PrivateKey(ECPrivateKey key)
public BCECGOST3410PrivateKey(ECPrivateKeySpec spec)
public BCECGOST3410PrivateKey(ECPrivateKeySpec spec)
public BCECGOST3410PrivateKey(BCECGOST3410PrivateKey key)
public BCECGOST3410PrivateKey(String algorithm, ECPrivateKeyParameters params, BCECGOST3410PublicKey pubKey, ECParameterSpec spec)
public BCECGOST3410PrivateKey(String algorithm, ECPrivateKeyParameters params, BCECGOST3410PublicKey pubKey, ECParameterSpec spec)
public BCECGOST3410PrivateKey(String algorithm, ECPrivateKeyParameters params)
public String getAlgorithm()
getAlgorithm in interface Keypublic String getFormat()
public byte[] getEncoded()
getEncoded in interface Keypublic ECParameterSpec getParams()
public ECParameterSpec getParameters()
ECKeygetParameters in interface ECKeypublic BigInteger getS()
public BigInteger getD()
ECPrivateKeygetD in interface ECPrivateKeypublic void setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute)
setBagAttribute in interface PKCS12BagAttributeCarrierpublic ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid)
getBagAttribute in interface PKCS12BagAttributeCarrierpublic Enumeration getBagAttributeKeys()
getBagAttributeKeys in interface PKCS12BagAttributeCarrierpublic void setPointFormat(String style)
ECPointEncodersetPointFormat in interface ECPointEncoderstyle - the style to use.Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.