|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.jce.provider.JCEECPrivateKey
public class JCEECPrivateKey
| Field Summary |
|---|
| Fields inherited from interface java.security.interfaces.ECPrivateKey |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
protected |
JCEECPrivateKey()
|
|
JCEECPrivateKey(java.security.interfaces.ECPrivateKey key)
|
|
JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params)
|
|
JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
JCEECPublicKey pubKey,
java.security.spec.ECParameterSpec spec)
|
|
JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
JCEECPublicKey pubKey,
ECParameterSpec spec)
|
|
JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeySpec spec)
|
|
JCEECPrivateKey(java.lang.String algorithm,
java.security.spec.ECPrivateKeySpec spec)
|
|
JCEECPrivateKey(java.lang.String algorithm,
JCEECPrivateKey key)
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAlgorithm()
|
DEREncodable |
getBagAttribute(DERObjectIdentifier 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. |
java.security.spec.ECParameterSpec |
getParams()
|
java.math.BigInteger |
getS()
|
int |
hashCode()
|
void |
setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute)
|
void |
setPointFormat(java.lang.String style)
Set the formatting for encoding of points. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected JCEECPrivateKey()
public JCEECPrivateKey(java.security.interfaces.ECPrivateKey key)
public JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeySpec spec)
public JCEECPrivateKey(java.lang.String algorithm,
java.security.spec.ECPrivateKeySpec spec)
public JCEECPrivateKey(java.lang.String algorithm,
JCEECPrivateKey key)
public JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
JCEECPublicKey pubKey,
java.security.spec.ECParameterSpec spec)
public JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
JCEECPublicKey pubKey,
ECParameterSpec spec)
public JCEECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params)
| 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 java.security.spec.ECParameterSpec getParams()
public ECParameterSpec getParameters()
ECKey
getParameters in interface ECKeypublic java.math.BigInteger getS()
public java.math.BigInteger getD()
ECPrivateKey
getD in interface ECPrivateKey
public void setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute)
setBagAttribute in interface PKCS12BagAttributeCarrierpublic DEREncodable getBagAttribute(DERObjectIdentifier 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.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||