Page
Library
Module
Module type
Parameter
Class
Class type
Source
X509.EncodingSourceEncodings
parse cstruct is certificate option, the ASN.1 decoded certificate or None.
cs_of_cert certificate is cstruct, the ASN.1 encoded representation of the certificate.
val distinguished_name_of_cs : Cstruct.t -> distinguished_name optiondistinguished_name_of_cs cs is dn, the ASN.1 decoded distinguished name of cs.
val cs_of_distinguished_name : distinguished_name -> Cstruct.tcs_of_distinguished_name dn is cstruct, the ASN.1 encoded representation of the distinguished name dn.
val parse_signing_request : Cstruct.t -> CA.signing_request optionparse_signing_request cstruct is signing_request option, the ASN.1 decoded cstruct or None.
val cs_of_signing_request : CA.signing_request -> Cstruct.tcs_of_signing_request sr is cstruct, the ASN.1 encoded representation of the sr.
val pkcs1_digest_info_of_cstruct :
Cstruct.t ->
(Nocrypto.Hash.hash * Cstruct.t) optionpkcs1_digest_info_of_cstruct data is hash, signature option, the hash and raw signature.
val pkcs1_digest_info_to_cstruct :
(Nocrypto.Hash.hash * Cstruct.t) ->
Cstruct.tpkcs1_digest_info_to_cstruct (hash, signature) is data, the encoded hash and signature.
val rsa_public_to_cstruct : Nocrypto.Rsa.pub -> Cstruct.trsa_public_to_cstruct pk is buffer, the ASN.1 encoding of the given public key.
val rsa_public_of_cstruct : Cstruct.t -> Nocrypto.Rsa.pub optionrsa_public_of_cstruct buffer is pubkey, the public key of the ASN.1 encoded buffer.
val public_key_to_cstruct : public_key -> Cstruct.tpublic_key_to_cstruct pk is buffer, the ASN.1 encoding of the given public key.
val public_key_of_cstruct : Cstruct.t -> public_key optionpublic_key_of_cstruct buffer is pubkey, the public key of the ASN.1 encoded buffer.
crl_to_cstruct crl is buffer, the ASN.1 DER encoding of the given certificate revocation list.
crl_of_cstruct buffer is crl, the certificate revocation list of the ASN.1 encoded buffer.
module Pem : sig ... endParser and unparser of PEM files