Home | History | Annotate | Download | only in x509

Lines Matching refs:KeyUsage

361 // KeyUsage represents the set of actions that are valid for a given key. It's
362 // a bitmap of the KeyUsage* constants.
363 type KeyUsage int
366 KeyUsageDigitalSignature KeyUsage = 1 << iota
479 KeyUsage KeyUsage
618 if parent.KeyUsage != 0 && parent.KeyUsage&KeyUsageCertSign == 0 {
946 return nil, errors.New("x509: trailing data after X.509 KeyUsage")
955 out.KeyUsage = KeyUsage(usage)
1073 var keyUsage []asn1.ObjectIdentifier
1074 if rest, err := asn1.Unmarshal(e.Value, &keyUsage); err != nil {
1080 for _, u := range keyUsage {
1270 if template.KeyUsage != 0 &&
1276 a[0] = reverseBitsInAByte(byte(template.KeyUsage))
1277 a[1] = reverseBitsInAByte(byte(template.KeyUsage >> 8))
1520 // NotAfter, KeyUsage, ExtKeyUsage, UnknownExtKeyUsage, BasicConstraintsValid,