Home | History | Annotate | Download | only in x509

Lines Matching refs:Policies

1287 				// RFC 5280 4.2.1.4: Certificate Policies
1288 var policies []policyInformation
1289 if rest, err := asn1.Unmarshal(e.Value, &policies); err != nil {
1292 return nil, errors.New("x509: trailing data after X.509 certificate policies")
1294 out.PolicyIdentifiers = make([]asn1.ObjectIdentifier, len(policies))
1295 for i, policy := range policies {
1573 policies := make([]policyInformation, len(template.PolicyIdentifiers))
1575 policies[i].Policy = policy
1577 ret[n].Value, err = asn1.Marshal(policies)