Package org.spongycastle.bcpg
Class ECDSAPublicBCPGKey
java.lang.Object
org.spongycastle.bcpg.BCPGObject
org.spongycastle.bcpg.ECPublicBCPGKey
org.spongycastle.bcpg.ECDSAPublicBCPGKey
- All Implemented Interfaces:
BCPGKey,org.spongycastle.util.Encodable
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:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionECDSAPublicBCPGKey(org.spongycastle.asn1.ASN1ObjectIdentifier oid, BigInteger encodedPoint) ECDSAPublicBCPGKey(org.spongycastle.asn1.ASN1ObjectIdentifier oid, org.spongycastle.math.ec.ECPoint point) protected -
Method Summary
Methods inherited from class org.spongycastle.bcpg.ECPublicBCPGKey
encode, getCurveOID, getEncoded, getEncodedPoint, getFormat, readBytesOfEncodedLength
-
Constructor Details
-
ECDSAPublicBCPGKey
- Parameters:
in- the stream to read the packet from.- Throws:
IOException
-
ECDSAPublicBCPGKey
public ECDSAPublicBCPGKey(org.spongycastle.asn1.ASN1ObjectIdentifier oid, org.spongycastle.math.ec.ECPoint point) -
ECDSAPublicBCPGKey
public ECDSAPublicBCPGKey(org.spongycastle.asn1.ASN1ObjectIdentifier oid, BigInteger encodedPoint) throws IOException - Throws:
IOException
-