enum KeyInfo

Indicates the key type and length in bits.

This enumeration supports Rivest Shamir Adleman (RSA) and Elliptic Curve Digital Signature Algorithm (ECDDSA).

References from:
NodeCredential;

0
RSA_1024
1024-bit long key generated for the RSA algorithm.
1
RSA_2048
2048-bit long key generated for the RSA algorithm.
2
RSA_3072
3072-bit long key generated for the RSA algorithm.
3
RSA_4096
4096-bit long key generated for the RSA algorithm.
4
ECDSA_160
A key generated for the ECDSA algorithm with bit-length ranging from 160 bits to 223 bits.
5
ECDSA_224
A key generated for the ECDSA algorithm with bit-length ranging from 224 bits to 255 bits.
6
ECDSA_256
A key generated for the ECDSA algorithm with bit-length ranging from 256 bits to 383 bits.
7
ECDSA_384
A key generated for the ECDSA algorithm with bit-length ranging from 384 bits to 511 bits.
8
ECDSA_512
A key generated for the ECDSA algorithm with bit-length of at least 512 bits.
  enum KeyInfo