[][src]Module mysql_common::crypto::der

Enums

PubKeyFileType

Type of a der-encoded public key.

Functions

parse_bit_string

der bytes -> (unused bits, bytes of bit string, rest of der bytes)

parse_pub_key

Extracts modulus and exponent from specified der public key representation

parse_pub_key_pkcs1

Extracts modulus and exponent from pkcs1 der public key representation

parse_pub_key_pkcs8

Extracts modulus and exponent from pkcs8 der public key representation

parse_sequence

der bytes -> (sequence bytes, rest of der bytes)

parse_uint

der bytes -> (uint, rest of der bytes)

pem_to_der

Converts pem encoded RSA public key to der.