aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pg/src/main/java/org/spongycastle/bcpg/ECDSAPublicBCPGKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/pg/src/main/java/org/spongycastle/bcpg/ECDSAPublicBCPGKey.java')
-rw-r--r--libraries/spongycastle/pg/src/main/java/org/spongycastle/bcpg/ECDSAPublicBCPGKey.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/spongycastle/pg/src/main/java/org/spongycastle/bcpg/ECDSAPublicBCPGKey.java b/libraries/spongycastle/pg/src/main/java/org/spongycastle/bcpg/ECDSAPublicBCPGKey.java
new file mode 100644
index 000000000..36db932a6
--- /dev/null
+++ b/libraries/spongycastle/pg/src/main/java/org/spongycastle/bcpg/ECDSAPublicBCPGKey.java
@@ -0,0 +1,31 @@
+package org.spongycastle.bcpg;
+
+import java.io.IOException;
+
+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);
+ }
+
+}