org.bouncycastle.asn1.sec

Class ECPrivateKeyStructure

Implemented Interfaces:
DEREncodable

public class ECPrivateKeyStructure
extends ASN1Encodable

the elliptic curve private key object from SEC 1

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

ECPrivateKeyStructure(BigInteger key)
ECPrivateKeyStructure(ASN1Sequence seq)

Method Summary

BigInteger
getKey()
DERObject
toASN1Object()

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Constructor Details

ECPrivateKeyStructure

public ECPrivateKeyStructure(BigInteger key)

ECPrivateKeyStructure

public ECPrivateKeyStructure(ASN1Sequence seq)

Method Details

getKey

public BigInteger getKey()

toASN1Object

public DERObject toASN1Object()
Overrides:
toASN1Object in interface ASN1Encodable