ios-csr icon indicating copy to clipboard operation
ios-csr copied to clipboard

sha512

Open rawillk opened this issue 9 years ago • 1 comments

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

rawillk avatar Jun 02 '16 16:06 rawillk

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.

cbaker6 avatar Oct 20 '16 21:10 cbaker6