certverifier

package
v0.1.7 Latest Latest
Warning

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

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

Documentation

Overview

Package certverifier offloads verifications to S2Av2.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyClientCertificateChain

func VerifyClientCertificateChain(verificationMode s2av2pb.ValidatePeerCertificateChainReq_VerificationMode, s2AStream stream.S2AStream) func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error

VerifyClientCertificateChain builds a SessionReq, sends it to S2Av2 and receives a SessionResp.

func VerifyServerCertificateChain

func VerifyServerCertificateChain(hostname string, verificationMode s2av2pb.ValidatePeerCertificateChainReq_VerificationMode, s2AStream stream.S2AStream, serverAuthorizationPolicy []byte) func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error

VerifyServerCertificateChain builds a SessionReq, sends it to S2Av2 and receives a SessionResp.

Types

This section is empty.

Jump to

Keyboard shortcuts

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