Package org.bouncycastle.asn1.sec
Class ECPrivateKeyStructure
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.sec.ECPrivateKeyStructure
- All Implemented Interfaces:
ASN1Encodable
,Encodable
Deprecated.
use ECPrivateKey
the elliptic curve private key object from SEC 1
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ECPrivateKeyStructure
(BigInteger key, ASN1BitString publicKey, ASN1Encodable parameters) Deprecated.ECPrivateKeyStructure
(BigInteger key, ASN1Encodable parameters) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Deprecated.Deprecated.Deprecated.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
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
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:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-