Bouncy Castle Cryptography 1.32

org.bouncycastle.asn1.sec
Class ECPrivateKeyStructure

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.sec.ECPrivateKeyStructure
All 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(ASN1Sequence seq)
           
ECPrivateKeyStructure(java.math.BigInteger key)
           
 
Method Summary
 java.math.BigInteger getKey()
           
 DERObject toASN1Object()
           
 
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPrivateKeyStructure

public ECPrivateKeyStructure(ASN1Sequence seq)

ECPrivateKeyStructure

public ECPrivateKeyStructure(java.math.BigInteger key)
Method Detail

getKey

public java.math.BigInteger getKey()

toASN1Object

public DERObject toASN1Object()
Specified by:
toASN1Object in class ASN1Encodable

Bouncy Castle Cryptography 1.32