
org.spongycastle.bcpg.ECDSAPublicBCPGKey Maven / Gradle / Ivy
Go to download
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.
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy