-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
扩展了der格式的公钥加载 #5
base: master
Are you sure you want to change the base?
Conversation
@bigsmoke9527 Thanks for your contribution, I'll look into it soon 👍 |
I'm using bigsmoke's code because it supports DER. I can't figure out how to move DER format over to the format C.PEM_read_bio_RSAPublicKey expects.. it was driving me insane. Please merge this. |
Ideally just constructing off of a modulus and exponent would.. AMAZING. |
@bigsmoke9527 |
I have one ready - but would prefer @bigsmoke9527 got the love.. I'll wait a week or so and then submit a pull request with @bigsmoke9527 in the comments. |
Nice, let's wait a week first. |
@whardier |
在new方法的入参对象里新增了一个key_type的属性,用来区分是pem还是der.
默认是PEM ,可选:DER