- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExtractIDs (0.08 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)