- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExtractIDs (0.31 sec)
-
security/pkg/pki/util/keycertbundle.go
} // CertOptions returns the certificate config based on currently stored cert. func (b *KeyCertBundle) CertOptions() (*CertOptions, error) { b.mutex.RLock() defer b.mutex.RUnlock() ids, err := ExtractIDs(b.cert.Extensions) if err != nil { return nil, fmt.Errorf("failed to extract id %v", err) } if len(ids) != 1 { return nil, fmt.Errorf("expect single id from the cert, found %v", ids) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jan 21 06:07:50 UTC 2024 - 10.5K bytes - Viewed (0) -
security/pkg/pki/util/generate_cert_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 06 12:48:53 UTC 2023 - 29.4K bytes - Viewed (0)