asntest

package
v0.0.0-...-48be911 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package for helper function in the test suite

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asn1Compare

func Asn1Compare(t *testing.T, a, b []byte)

func Asn1Parse

func Asn1Parse(t *testing.T, buf []byte) []byte

func CertToBytes

func CertToBytes(cert *x509.Certificate) []byte

func DiffText

func DiffText(t *testing.T, a, b []byte)

func InitCert

func InitCert() (*x509.Certificate, *rsa.PrivateKey)

Init a basic set of certs

func RSAToBytes

func RSAToBytes(r *rsa.PrivateKey) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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