|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.jcajce.provider.asymmetric.ecgost.BCECGOST3410PrivateKey
public class BCECGOST3410PrivateKey
| Field Summary |
|---|
| Fields inherited from interface java.security.PrivateKey |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
protected |
BCECGOST3410PrivateKey()
|
|
BCECGOST3410PrivateKey(ECPrivateKeySpec spec)
|
|
BCECGOST3410PrivateKey(java.lang.String algorithm,
BCECGOST3410PrivateKey key)
|
|
BCECGOST3410PrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params)
|
|
BCECGOST3410PrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
BCECGOST3410PublicKey pubKey,
ECParameterSpec spec)
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAlgorithm()
|
ASN1Encodable |
getBagAttribute(ASN1ObjectIdentifier oid)
|
java.util.Enumeration |
getBagAttributeKeys()
|
java.math.BigInteger |
getD()
return the private value D. |
byte[] |
getEncoded()
Return a PKCS8 representation of the key. |
java.lang.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()
return a parameter specification representing the EC domain parameters for the key. |
int |
hashCode()
|
void |
setBagAttribute(ASN1ObjectIdentifier oid,
ASN1Encodable attribute)
|
void |
setPointFormat(java.lang.String style)
Set the formatting for encoding of points. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BCECGOST3410PrivateKey()
public BCECGOST3410PrivateKey(ECPrivateKeySpec spec)
public BCECGOST3410PrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
BCECGOST3410PublicKey pubKey,
ECParameterSpec spec)
public BCECGOST3410PrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params)
public BCECGOST3410PrivateKey(java.lang.String algorithm,
BCECGOST3410PrivateKey key)
| Method Detail |
|---|
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic ECParameterSpec getParams()
ECKey
getParams in interface ECKeypublic ECParameterSpec getParameters()
ECKey
getParameters in interface ECKeypublic java.math.BigInteger getD()
ECPrivateKey
getD in interface ECPrivateKey
public void setBagAttribute(ASN1ObjectIdentifier oid,
ASN1Encodable attribute)
setBagAttribute in interface PKCS12BagAttributeCarrierpublic ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid)
getBagAttribute in interface PKCS12BagAttributeCarrierpublic java.util.Enumeration getBagAttributeKeys()
getBagAttributeKeys in interface PKCS12BagAttributeCarrierpublic void setPointFormat(java.lang.String style)
ECPointEncoder
setPointFormat in interface ECPointEncoderstyle - the style to use.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||