Micah,

You can define any OID you want just by passing a string of the dotted value of 
the OID to the constructor of x509.ObjectIdentifier. You won't get the human 
readable name, but that's not a big deal. However, that class is really just a 
convenience and doesn't have any behavior so I'm not sure what benefit it would 
be to you when implementing SCEP. Could you elaborate a bit on what you're 
trying to do?


-Paul (reaperhulk)

On October 4, 2015 at 6:33:57 PM, Micah Baker (hacim.re...@gmail.com) wrote:

I’m attempting to build a SCEP server using cryptography and don’t see a way to 
add OIDs not already defined by the module. If it is not possible to use other 
real OIDs, can we add the half-dozen SCEP OIDs to cryptography? The OIDs can be 
found here: https://tools.ietf.org/html/draft-gutmann-scep-01#page-17. If 
someone is willing to give me some pointers I could try to write a patch for 
this, assuming it’s just a table of supported OIDs somewhere.
_______________________________________________  
Cryptography-dev mailing list  
Cryptography-dev@python.org  
https://mail.python.org/mailman/listinfo/cryptography-dev  
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to