org.apache.geronimo.util.asn1.sec
Class ECPrivateKeyStructure

java.lang.Object
  extended by org.apache.geronimo.util.asn1.ASN1Encodable
      extended by org.apache.geronimo.util.asn1.sec.ECPrivateKeyStructure
All Implemented Interfaces:
DEREncodable

public class ECPrivateKeyStructure
extends ASN1Encodable

the elliptic curve private key object from SEC 1


Constructor Summary
ECPrivateKeyStructure(ASN1Sequence seq)
           
ECPrivateKeyStructure(BigInteger key)
           
 
Method Summary
 BigInteger getKey()
           
 DERObject toASN1Object()
           
 
Methods inherited from class org.apache.geronimo.util.asn1.ASN1Encodable
equals, getDERObject, 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(BigInteger key)
Method Detail

getKey

public BigInteger getKey()

toASN1Object

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.