public abstract class ECPublicBCPGKey extends BCPGObject implements BCPGKey
Modifier | Constructor and Description |
---|---|
protected |
ECPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
java.math.BigInteger encodedPoint) |
protected |
ECPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.math.ec.ECPoint point) |
protected |
ECPublicBCPGKey(BCPGInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
encode(BCPGOutputStream out) |
org.bouncycastle.asn1.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.IOException
protected ECPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.math.ec.ECPoint point)
protected ECPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, java.math.BigInteger encodedPoint)
public java.lang.String getFormat()
getFormat
in interface BCPGKey
BCPGKey.getFormat()
public byte[] getEncoded()
getEncoded
in interface BCPGKey
getEncoded
in interface org.bouncycastle.util.Encodable
getEncoded
in class BCPGObject
BCPGKey.getEncoded()
public void encode(BCPGOutputStream out) throws java.io.IOException
encode
in class BCPGObject
java.io.IOException
public java.math.BigInteger getEncodedPoint()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getCurveOID()
protected static byte[] readBytesOfEncodedLength(BCPGInputStream in) throws java.io.IOException
java.io.IOException