Home | History | Annotate | Download | only in x509

Lines Matching refs:keyUsages

136 	KeyUsages []ExtKeyUsage
246 keyUsages := opts.KeyUsages
247 if len(keyUsages) == 0 {
248 keyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
252 for _, usage := range keyUsages {
260 if checkChainForKeyUsage(candidate, keyUsages) {
423 func checkChainForKeyUsage(chain []*Certificate, keyUsages []ExtKeyUsage) bool {
424 usages := make([]ExtKeyUsage, len(keyUsages))
425 copy(usages, keyUsages)