Lines Matching refs:keyUsage
526 // KeyUsage represents the set of actions that are valid for a given key. It's
527 // a bitmap of the KeyUsage* constants.
528 type KeyUsage int
531 KeyUsageDigitalSignature KeyUsage = 1 << iota
644 KeyUsage KeyUsage
790 if parent.KeyUsage != 0 && parent.KeyUsage&KeyUsageCertSign == 0 {
1129 return nil, errors.New("x509: trailing data after X.509 KeyUsage")
1138 out.KeyUsage = KeyUsage(usage)
1261 var keyUsage []asn1.ObjectIdentifier
1262 if rest, err := asn1.Unmarshal(e.Value, &keyUsage); err != nil {
1268 for _, u := range keyUsage {
1458 if template.KeyUsage != 0 &&
1464 a[0] = reverseBitsInAByte(byte(template.KeyUsage))
1465 a[1] = reverseBitsInAByte(byte(template.KeyUsage >> 8))
1711 // NotAfter, KeyUsage, ExtKeyUsage, UnknownExtKeyUsage, BasicConstraintsValid,