Google

Bouncy Castle Cryptography 1.11 API Specification: Class ECPrivateKeyStructure
Bouncy Castle Cryptography 1.11

org.bouncycastle.asn1.sec
Class ECPrivateKeyStructure

java.lang.Object
  |
  +--org.bouncycastle.asn1.sec.ECPrivateKeyStructure
All Implemented Interfaces:
DEREncodable

public class ECPrivateKeyStructure
extends java.lang.Object
implements DEREncodable

the elliptic curve private key object from SEC 1


Constructor Summary
ECPrivateKeyStructure(java.math.BigInteger key)
           
ECPrivateKeyStructure(DERConstructedSequence seq)
           
 
Method Summary
 DERObject getDERObject()
           
 java.math.BigInteger getKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPrivateKeyStructure

public ECPrivateKeyStructure(DERConstructedSequence seq)

ECPrivateKeyStructure

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

getKey

public java.math.BigInteger getKey()

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable

Bouncy Castle Cryptography 1.11