package certs

import "github.com/microsoft/go-mssqldb/internal/certs"

Index

Functions

func DeleteMasterKeyCert

func DeleteMasterKeyCert(thumbprint string) error

func FindCertBySignatureHash

func FindCertBySignatureHash(storeHandle windows.Handle, hash []byte) (interface{}, *x509.Certificate)

func ProvisionMasterKeyInCertStore

func ProvisionMasterKeyInCertStore() (thumbprint string, err error)

Types

type RSA_HEADER

type RSA_HEADER struct {
	Magic         uint32
	BitLength     uint32
	PublicExpSize uint32
	ModulusSize   uint32
	Prime1Size    uint32
	Prime2Size    uint32
}

Source Files

certs.go certs_windows.go

Version
v1.6.0
Published
Aug 31, 2023
Platform
windows/amd64
Imports
11 packages
Last checked
8 minutes ago

Tools for package owners.