You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function objectToSignedExact looks like it could be used for signing a certificate, but (1) how would I do it if I had a RSA private key available and (2) would the result pass as a valid x509 certificate?
Also, given that the Certificate data type has a field certSignatureAlg then the public key type would need to match this, right? (as in: one must use an RSA private key for signing if the signature algorithm SignatureALG HashSHA256 PubKeyALG_RSA)
The text was updated successfully, but these errors were encountered:
eyeinsky
changed the title
Is there a way to sign a certificate?
Is there a way to sign a certificate with a private key?
Jan 10, 2021
The function
objectToSignedExact
looks like it could be used for signing a certificate, but (1) how would I do it if I had a RSA private key available and (2) would the result pass as a valid x509 certificate?Also, given that the
Certificate
data type has a fieldcertSignatureAlg
then the public key type would need to match this, right? (as in: one must use an RSA private key for signing if the signature algorithmSignatureALG HashSHA256 PubKeyALG_RSA
)The text was updated successfully, but these errors were encountered: