Package org.bouncycastle.asn1.sec
Class ECPrivateKeyStructure
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.sec.ECPrivateKeyStructure
- All Implemented Interfaces:
ASN1Encodable
public class ECPrivateKeyStructure extends ASN1Object
Deprecated.
use ECPrivateKey
the elliptic curve private key object from SEC 1
-
Constructor Summary
Constructors Constructor Description ECPrivateKeyStructure(BigInteger key)Deprecated.ECPrivateKeyStructure(BigInteger key, ASN1Encodable parameters)Deprecated.ECPrivateKeyStructure(BigInteger key, DERBitString publicKey, ASN1Encodable parameters)Deprecated.ECPrivateKeyStructure(ASN1Sequence seq)Deprecated. -
Method Summary
Modifier and Type Method Description BigIntegergetKey()Deprecated.ASN1PrimitivegetParameters()Deprecated.DERBitStringgetPublicKey()Deprecated.ASN1PrimitivetoASN1Primitive()Deprecated.ECPrivateKey ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, parameters [0] Parameters OPTIONAL, publicKey [1] BIT STRING OPTIONAL }Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
-
Constructor Details
-
ECPrivateKeyStructure
Deprecated. -
ECPrivateKeyStructure
Deprecated. -
ECPrivateKeyStructure
Deprecated. -
ECPrivateKeyStructure
Deprecated.
-
-
Method Details
-
getKey
Deprecated. -
getPublicKey
Deprecated. -
getParameters
Deprecated. -
toASN1Primitive
Deprecated.ECPrivateKey ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, parameters [0] Parameters OPTIONAL, publicKey [1] BIT STRING OPTIONAL }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object
-