Documentation ¶
Overview ¶
Package x509 provides X.509 certificate parsing for the k6
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { Subject Subject Issuer Issuer NotBefore string `js:"notBefore"` NotAfter string `js:"notAfter"` AltNames []string `js:"altNames"` SignatureAlgorithm string `js:"signatureAlgorithm"` FingerPrint []byte `js:"fingerPrint"` PublicKey PublicKey `js:"publicKey"` }
Certificate is an X.509 certificate
type Issuer ¶
type Issuer struct { CommonName string `js:"commonName"` Country string StateOrProvinceName string `js:"stateOrProvinceName"` LocalityName string `js:"localityName"` OrganizationName string `js:"organizationName"` Names []RDN }
Issuer is a certificate issuer
type PublicKey ¶
type PublicKey struct { Algorithm string Key interface{} }
PublicKey is used for decryption and signature verification
type RootModule ¶ added in v0.36.0
type RootModule struct{}
RootModule is the global module instance that will create module instances for each VU.
func (*RootModule) NewModuleInstance ¶ added in v0.36.0
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface to return a new instance for each VU.
type Subject ¶
type Subject struct { CommonName string `js:"commonName"` Country string PostalCode string `js:"postalCode"` StateOrProvinceName string `js:"stateOrProvinceName"` LocalityName string `js:"localityName"` StreetAddress string `js:"streetAddress"` OrganizationName string `js:"organizationName"` OrganizationalUnitName []string `js:"organizationalUnitName"` Names []RDN }
Subject is a certificate subject
Click to show internal directories.
Click to hide internal directories.