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) (pk interface{}, cert *x509.Certificate, err error)

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.8.0 (latest)
Published
Dec 5, 2024
Platform
windows/amd64
Imports
11 packages
Last checked
10 minutes ago

Tools for package owners.