Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg
Class ECDSAPublicBCPGKey

java.lang.Object
  |
  +--org.bouncycastle.bcpg.BCPGObject
        |
        +--org.bouncycastle.bcpg.ECPublicBCPGKey
              |
              +--org.bouncycastle.bcpg.ECDSAPublicBCPGKey
All Implemented Interfaces:
BCPGKey, org.bouncycastle.util.Encodable

public class ECDSAPublicBCPGKey
extends ECPublicBCPGKey

Base class for an ECDSA Public Key. This type is used with PublicKeyAlgorithmTags.ECDSA and the curve is identified by providing an OID.

See Also:
OpenPGP - Algorithm-Specific Parts for ECDSA Keys

Constructor Summary
  ECDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, java.math.BigInteger encodedPoint)
           
  ECDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.math.ec.ECPoint point)
           
protected ECDSAPublicBCPGKey(BCPGInputStream in)
           
 
Methods inherited from class org.bouncycastle.bcpg.ECPublicBCPGKey
encode, getCurveOID, getEncoded, getEncodedPoint, getFormat, readBytesOfEncodedLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECDSAPublicBCPGKey

protected ECDSAPublicBCPGKey(BCPGInputStream in)
                      throws java.io.IOException
Parameters:
in - the stream to read the packet from.

ECDSAPublicBCPGKey

public ECDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
                          org.bouncycastle.math.ec.ECPoint point)

ECDSAPublicBCPGKey

public ECDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
                          java.math.BigInteger encodedPoint)
                   throws java.io.IOException

Bouncy Castle Cryptography Library 1.79