|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey
Constructor Summary | |
protected |
BCECPrivateKey()
|
|
BCECPrivateKey(ECPrivateKey key,
ProviderConfiguration configuration)
|
|
BCECPrivateKey(java.lang.String algorithm,
BCECPrivateKey key)
|
|
BCECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
BCECPublicKey pubKey,
ECParameterSpec spec,
ProviderConfiguration configuration)
|
|
BCECPrivateKey(java.lang.String algorithm,
ECPrivateKeyParameters params,
ProviderConfiguration configuration)
|
|
BCECPrivateKey(java.lang.String algorithm,
ECPrivateKeySpec spec,
ProviderConfiguration configuration)
|
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. |
boolean |
hasFriendlyName()
|
int |
hashCode()
|
void |
setBagAttribute(ASN1ObjectIdentifier oid,
ASN1Encodable attribute)
|
void |
setFriendlyName(java.lang.String friendlyName)
|
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 BCECPrivateKey()
public BCECPrivateKey(ECPrivateKey key, ProviderConfiguration configuration)
public BCECPrivateKey(java.lang.String algorithm, ECPrivateKeySpec spec, ProviderConfiguration configuration)
public BCECPrivateKey(java.lang.String algorithm, BCECPrivateKey key)
public BCECPrivateKey(java.lang.String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, ECParameterSpec spec, ProviderConfiguration configuration)
public BCECPrivateKey(java.lang.String algorithm, ECPrivateKeyParameters params, ProviderConfiguration configuration)
Method Detail |
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public ECParameterSpec getParams()
ECKey
getParams
in interface ECKey
public ECParameterSpec getParameters()
ECKey
getParameters
in interface ECKey
public java.math.BigInteger getD()
ECPrivateKey
getD
in interface ECPrivateKey
public void setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute)
setBagAttribute
in interface PKCS12BagAttributeCarrier
public ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid)
getBagAttribute
in interface PKCS12BagAttributeCarrier
public java.util.Enumeration getBagAttributeKeys()
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
public boolean hasFriendlyName()
hasFriendlyName
in interface PKCS12BagAttributeCarrier
public void setFriendlyName(java.lang.String friendlyName)
setFriendlyName
in interface PKCS12BagAttributeCarrier
public void setPointFormat(java.lang.String style)
ECPointEncoder
setPointFormat
in interface ECPointEncoder
style
- the style to use.public java.lang.String toString()
public boolean equals(java.lang.Object o)
public int hashCode()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |