ios-csr
ios-csr copied to clipboard
sha512
Can you add other signature algorithms? I need sha512WithRSAEncryption now and I don't know where did you find this static uint8_t SEQUENCE_OBJECT_sha1WithRSAEncryption[] = {0x30, 0x0D, 0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 1, 1, 5, 0x05, 0x00}; Also I need to add ST and L to subject
I have created a solution in Swift that will allow you to do sha512WithRSAEncryption here: https://github.com/cbaker6/iOS-csr-swift.
Note: the byte sequence you asked about is the OID, you can find specifics of how to determine it by reading the comments in the code.