Bouncy Castle Cryptography Library 1.81

org.bouncycastle.bcpg
Interface PublicKeyAlgorithmTags

All Known Implementing Classes:
ExperimentalPacket, PGPPublicKey, PublicKeyEncSessionPacket, PublicKeyPacket, SecretKeyPacket, SignaturePacket

public interface PublicKeyAlgorithmTags

Public Key Algorithm IDs.

See Also:
RFC9580 - Public-Key Algorithms, RFC4880 - Public-Key Algorithms, LibrePGP - Public-Key Algorithms

Field Summary
static int AEDH
          Reserved tag for AEDH.
static int AEDSA
          Reserved tag for AEDSA.
static int DIFFIE_HELLMAN
          Reserved tag for IETF-style S/MIME Diffie-Hellman.
static int DSA
          DSA.
static int EC
          Deprecated. use ECDH instead.
static int ECDH
          Elliptic curve Diffie-Hellman.
static int ECDSA
          Elliptic curve digital signing algorithm.
static int Ed25519
          Ed25519 signing algorithm.
static int Ed448
          Ed448 signing algorithm.
static int EDDSA
          Deprecated. use EDDSA_LEGACY instead.
static int EDDSA_LEGACY
          Legacy EdDSA (curve identified by OID).
static int ELGAMAL_ENCRYPT
          Encrypt-only ElGamal.
static int ELGAMAL_GENERAL
          Deprecated. use ELGAMAL_ENCRYPT instead.
static int EXPERIMENTAL_1
           
static int EXPERIMENTAL_10
           
static int EXPERIMENTAL_11
           
static int EXPERIMENTAL_2
           
static int EXPERIMENTAL_3
           
static int EXPERIMENTAL_4
           
static int EXPERIMENTAL_5
           
static int EXPERIMENTAL_6
           
static int EXPERIMENTAL_7
           
static int EXPERIMENTAL_8
           
static int EXPERIMENTAL_9
           
static int RSA_ENCRYPT
          Deprecated. use RSA_GENERAL instead.
static int RSA_GENERAL
          RSA encryption/signing algorithm.
static int RSA_SIGN
          Deprecated. use RSA_GENERAL instead.
static int X25519
          X25519 encryption algorithm.
static int X448
          X448 encryption algorithm.
 

Field Detail

RSA_GENERAL

public static final int RSA_GENERAL
RSA encryption/signing algorithm.

See Also:
Constant Field Values

RSA_ENCRYPT

public static final int RSA_ENCRYPT
Deprecated. use RSA_GENERAL instead.

Deprecated tag for encrypt-only RSA. MUST NOT be generated.

See Also:
Constant Field Values

RSA_SIGN

public static final int RSA_SIGN
Deprecated. use RSA_GENERAL instead.

Deprecated tag for sign-only RSA. MUST NOT be generated.

See Also:
Constant Field Values

ELGAMAL_ENCRYPT

public static final int ELGAMAL_ENCRYPT
Encrypt-only ElGamal.

See Also:
Constant Field Values

DSA

public static final int DSA
DSA.

See Also:
Constant Field Values

EC

public static final int EC
Deprecated. use ECDH instead.

Deprecated tag for ECDH.

See Also:
Constant Field Values

ECDH

public static final int ECDH
Elliptic curve Diffie-Hellman.

See Also:
Constant Field Values

ECDSA

public static final int ECDSA
Elliptic curve digital signing algorithm.

See Also:
Constant Field Values

ELGAMAL_GENERAL

public static final int ELGAMAL_GENERAL
Deprecated. use ELGAMAL_ENCRYPT instead.

Reserved tag for sign+encrypt ElGamal. MUST NOT be generated. An implementation MUST NOT generate ElGamal signatures.

See Also:
Constant Field Values

DIFFIE_HELLMAN

public static final int DIFFIE_HELLMAN
Reserved tag for IETF-style S/MIME Diffie-Hellman.

See Also:
Constant Field Values

EDDSA

public static final int EDDSA
Deprecated. use EDDSA_LEGACY instead.

Misnamed tag for legacy EdDSA.

See Also:
Constant Field Values

EDDSA_LEGACY

public static final int EDDSA_LEGACY
Legacy EdDSA (curve identified by OID). MUST NOT be used with v6 keys (use Ed25519, Ed448 instead).

See Also:
Constant Field Values

AEDH

public static final int AEDH
Reserved tag for AEDH.

See Also:
Constant Field Values

AEDSA

public static final int AEDSA
Reserved tag for AEDSA.

See Also:
Constant Field Values

X25519

public static final int X25519
X25519 encryption algorithm. RFC9580-compliant implementations MUST implement support for this.

See Also:
Constant Field Values

X448

public static final int X448
X448 encryption algorithm.

See Also:
Constant Field Values

Ed25519

public static final int Ed25519
Ed25519 signing algorithm. RFC9580-compliant implementations MUST implement support for this.

See Also:
Constant Field Values

Ed448

public static final int Ed448
Ed448 signing algorithm.

See Also:
Constant Field Values

EXPERIMENTAL_1

public static final int EXPERIMENTAL_1
See Also:
Constant Field Values

EXPERIMENTAL_2

public static final int EXPERIMENTAL_2
See Also:
Constant Field Values

EXPERIMENTAL_3

public static final int EXPERIMENTAL_3
See Also:
Constant Field Values

EXPERIMENTAL_4

public static final int EXPERIMENTAL_4
See Also:
Constant Field Values

EXPERIMENTAL_5

public static final int EXPERIMENTAL_5
See Also:
Constant Field Values

EXPERIMENTAL_6

public static final int EXPERIMENTAL_6
See Also:
Constant Field Values

EXPERIMENTAL_7

public static final int EXPERIMENTAL_7
See Also:
Constant Field Values

EXPERIMENTAL_8

public static final int EXPERIMENTAL_8
See Also:
Constant Field Values

EXPERIMENTAL_9

public static final int EXPERIMENTAL_9
See Also:
Constant Field Values

EXPERIMENTAL_10

public static final int EXPERIMENTAL_10
See Also:
Constant Field Values

EXPERIMENTAL_11

public static final int EXPERIMENTAL_11
See Also:
Constant Field Values

Bouncy Castle Cryptography Library 1.81