Home | History | Annotate | Download | only in x509

Lines Matching refs:Certificate

13 // Creates a new *syscall.CertContext representing the leaf certificate in an in-memory
14 // certificate store containing itself and all of the intermediate certificates specified
20 func createStoreContext(leaf *Certificate, opts *VerifyOptions) (*syscall.CertContext, error) {
58 // extractSimpleChain extracts the final certificate chain from a CertSimpleChain.
59 func extractSimpleChain(simpleChain **syscall.CertSimpleChain, count int) (chain []*Certificate, err error) {
83 // checkChainTrustStatus checks the trust status of the certificate chain, translating
85 func checkChainTrustStatus(c *Certificate, chainCtx *syscall.CertChainContext) error {
98 // checkChainSSLServerPolicy checks that the certificate chain in chainCtx is valid for
99 // use as a certificate chain for a SSL/TLS server.
100 func checkChainSSLServerPolicy(c *Certificate, chainCtx *syscall.CertChainContext, opts *VerifyOptions) error {
142 // to build certificate chains and verify them.
143 func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
156 // a certificate from a TLS server.
182 // in an attempt to build a verified certificate chain. Once
187 // begins with an end certificate and ends with a self-signed
188 // certificate. If that self-signed certificate is not a root
189 // or otherwise trusted certificate, an attempt is made to
191 // beginning with the self-signed certificate from the original
192 // chain as the end certificate of the new chain. This process
194 // self-signed certificate is a trusted certificate or until