BCPGKey, org.bouncycastle.util.EncodableECDHPublicBCPGKey, ECDSAPublicBCPGKey, EdDSAPublicBCPGKeypublic abstract class ECPublicBCPGKey extends BCPGObject implements BCPGKey
| Modifier | Constructor | 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 | 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.IOExceptionprotected ECPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.math.ec.ECPoint point)
protected ECPublicBCPGKey(org.bouncycastle.asn1.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 interface org.bouncycastle.util.EncodablegetEncoded in class BCPGObjectBCPGKey.getEncoded()public void encode(BCPGOutputStream out) throws java.io.IOException
encode in class BCPGObjectjava.io.IOExceptionpublic java.math.BigInteger getEncodedPoint()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getCurveOID()
protected static byte[] readBytesOfEncodedLength(BCPGInputStream in) throws java.io.IOException
java.io.IOException