Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Module juptune.data.x509.asn1convert

Aliases

Name Description
x509FromPem

Parses all certificates from the given PEM-encoded string, and passes them to the user provided callback.

x509FromPemGC

Classes

Name Description
X509Extension

Namespace class used to store all recognised extensions.

X509PublicKeyAlgorithm

Namespace class used to store all supported public key algorithms.

X509SignatureAlgorithm

Namespace class used to store all supported signature algorithms.

Enums

Name Description
X509Error

Functions

Name Description
x509ForeachNameComponent

Iterates over the components of the given name, passing them into the provided handler.

x509ForeachNameComponentGC

ditto

x509FromAsn1

Flattens the given asn1Certinto the more easier to use structure of cert, while performing light amounts of validation.

x509FromDerBytes

A helper function that decodes raw DER bytes into its ASN.1 Certificatetype, before passing the certificate into x509FromAsn1.

x509HandleExtension

Attempts to identify the given extension; flatten it into an easier to work with type, and perform some light validation.

x509HandleNameComponent

Attempts to identify the given name component, and provide its textual data.

x509HandleNamedCurveIdentifierRfc5480

Converts the given ASN.1 object identifier into its corresponding EcdsaGroupName.

x509HandleTime

Converts the given ASN.1 model Timeinto the easier to use structure of time.

x509IdentifyPublicKeyAlgorithm
x509IdentifySignatureAlgorithm

Structs

Name Description
X509Certificate

Represents an x.509 certificate, with as much of the ASN.1 jank cut out as possible without the need for allocation.