Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = [
| `DSA of DSA.Params.t * DSA.Private.t
| `EC of EC.Params.t * EC.Private.t
| `RSA of RSA.Private.t
]
val rsa_grammar : RSA.Private.t Asn.t
val dsa_grammar : (DSA.Params.t * DSA.Private.t) Asn.t
val ec_grammar : (EC.Params.t * EC.Private.t) Asn.t
val encode_rsa : RSA.Private.t -> Cstruct.t
val encode_dsa : (DSA.Params.t * DSA.Private.t) -> Cstruct.t
val encode_ec : (EC.Params.t * EC.Private.t) -> Cstruct.t
val decode_rsa : Cstruct.t -> RSA.Private.t
val decode_dsa : Cstruct.t -> DSA.Params.t * DSA.Private.t
val decode_ec : Cstruct.t -> EC.Params.t * EC.Private.t