问题
I have x509 certificate (.crt) and private key (.key) I need to sign some string using a certificate in PKCS#7 detached signature(UTF8)
Can you explain how to distribute certificate (key) and sign?
UPDATE: it seems that i need analog of Cryptographic Message Syntax Services for iOs Is openSsl only one way to sign message using certificate?
来源:https://stackoverflow.com/questions/43227984/ios-swift-x509-certificate-sign-string