public abstract class ECPublicBCPGKey extends BCPGObject implements BCPGKey
| Modifier | Constructor and Description |
|---|---|
protected |
ECPublicBCPGKey(ASN1ObjectIdentifier oid,
java.math.BigInteger encodedPoint) |
protected |
ECPublicBCPGKey(ASN1ObjectIdentifier oid,
ECPoint point) |
protected |
ECPublicBCPGKey(BCPGInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(BCPGOutputStream out) |
ASN1ObjectIdentifier |
getCurveOID() |
byte[] |
getEncoded()
return the standard PGP encoding of the key.
|
java.math.BigInteger |
getEncodedPoint() |
java.lang.String |
getFormat()
return "PGP"
|
protected static byte[] |
readBytesOfEncodedLength(BCPGInputStream in) |
protected ECPublicBCPGKey(BCPGInputStream in) throws java.io.IOException
in - the stream to read the packet from.java.io.IOExceptionprotected ECPublicBCPGKey(ASN1ObjectIdentifier oid,
ECPoint point)
protected ECPublicBCPGKey(ASN1ObjectIdentifier oid,
java.math.BigInteger encodedPoint)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getFormat()
getFormat in interface BCPGKeyBCPGKey.getFormat()public byte[] getEncoded()
getEncoded in interface BCPGKeygetEncoded in class BCPGObjectBCPGKey.getEncoded()public void encode(BCPGOutputStream out) throws java.io.IOException
encode in class BCPGObjectjava.io.IOExceptionpublic java.math.BigInteger getEncodedPoint()
public ASN1ObjectIdentifier getCurveOID()
protected static byte[] readBytesOfEncodedLength(BCPGInputStream in) throws java.io.IOException
java.io.IOException