Class ECDHPublicBCPGKey

  • All Implemented Interfaces:
    BCPGKey, org.bouncycastle.util.Encodable

    public class ECDHPublicBCPGKey
    extends ECPublicBCPGKey
    base class for an ECDH Public Key.
    • Constructor Detail

      • ECDHPublicBCPGKey

        public ECDHPublicBCPGKey​(BCPGInputStream in)
                          throws java.io.IOException
        Parameters:
        in - the stream to read the packet from.
        Throws:
        java.io.IOException
      • ECDHPublicBCPGKey

        public ECDHPublicBCPGKey​(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
                                 org.bouncycastle.math.ec.ECPoint point,
                                 int hashAlgorithm,
                                 int symmetricKeyAlgorithm)
      • ECDHPublicBCPGKey

        public ECDHPublicBCPGKey​(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
                                 java.math.BigInteger point,
                                 int hashAlgorithm,
                                 int symmetricKeyAlgorithm)
    • Method Detail

      • getReserved

        public byte getReserved()
      • getHashAlgorithm

        public byte getHashAlgorithm()
      • getSymmetricKeyAlgorithm

        public byte getSymmetricKeyAlgorithm()