org.spongycastle.bcpg.ECDSAPublicBCPGKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pg Show documentation
Show all versions of pg Show documentation
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle
intended for the Android platform. Android unfortunately ships with a stripped-down version of
Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full,
up-to-date version of the Bouncy Castle cryptographic libs.
The newest version!
package org.spongycastle.bcpg;
import java.io.IOException;
import java.math.BigInteger;
import org.spongycastle.asn1.ASN1ObjectIdentifier;
import org.spongycastle.math.ec.ECPoint;
/**
* base class for an ECDSA Public Key.
*/
public class ECDSAPublicBCPGKey
extends ECPublicBCPGKey
{
/**
* @param in the stream to read the packet from.
*/
protected ECDSAPublicBCPGKey(
BCPGInputStream in)
throws IOException
{
super(in);
}
public ECDSAPublicBCPGKey(
ASN1ObjectIdentifier oid,
ECPoint point)
{
super(oid, point);
}
public ECDSAPublicBCPGKey(
ASN1ObjectIdentifier oid,
BigInteger encodedPoint)
throws IOException
{
super(oid, encodedPoint);
}
}