Package org.gudy.bouncycastle.asn1.sec
Class ECPrivateKeyStructure
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.sec.ECPrivateKeyStructure
- All Implemented Interfaces:
DEREncodable
the elliptic curve private key object from SEC 1
-
Field Summary
FieldsFields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
private ASN1Object
getObjectInTag
(int tagNo) ECPrivateKey ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, parameters [0] Parameters OPTIONAL, publicKey [1] BIT STRING OPTIONAL }Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
seq
-
-
Constructor Details
-
ECPrivateKeyStructure
-
ECPrivateKeyStructure
-
-
Method Details
-
getKey
-
getPublicKey
-
getParameters
-
getObjectInTag
-
toASN1Object
ECPrivateKey ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, parameters [0] Parameters OPTIONAL, publicKey [1] BIT STRING OPTIONAL }- Specified by:
toASN1Object
in classASN1Encodable
-