Re: The code is trivial
Note that this is just following http://www.ietf.org/rfc/rfc3280.txt
RFC 3280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
See section 4.2.1.5 Certificate Policies:
"When a CA does not wish to limit the set of policies for certification paths which include this certificate, it MAY assert the special policy anyPolicy, with a value of { 2 5 29 32 0 }."