starlarkcrypto

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = &starlarkstruct.Module{
	Name: "crypto",
	Members: starlark.StringDict{
		"x509": starlarkstruct.FromStringDict(
			starlarkutil.Symbol("x509"),
			starlark.StringDict{
				"SystemCertPool": starlark.NewBuiltin("x509.SystemCertPool", newSystemCertPool),
				"CertPool":       starlark.NewBuiltin("x509.CertPool", newCertPool),
			},
		),
		"tls": starlarkstruct.FromStringDict(
			starlarkutil.Symbol("tls"),
			starlark.StringDict{
				"Config":         starlark.NewBuiltin("tls.Config", newTlsConfig),
				"Certificate":    starlark.NewBuiltin("tls.Certificate", newCertificate),
				"ClientAuthType": tlsClientAuthType,
			},
		),
	},
}

Module starlarkcrypto is a Starlark module of crypto-related functions and constants. The module defines the following functions:

Functions

This section is empty.

Types

type TlsConfig

type TlsConfig struct {
	*tls.Config
	*starlarkstruct.Struct
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL