If the input key asserts that it is a PKCS#1 key ("BEGIN RSA PRIVATE KEY"), we can safely return the error from parsing as PKCS1, rather than trying all key types and returning a generic error. |
||
---|---|---|
.. | ||
privatekey.go | ||
privatekey_test.go |
If the input key asserts that it is a PKCS#1 key ("BEGIN RSA PRIVATE KEY"), we can safely return the error from parsing as PKCS1, rather than trying all key types and returning a generic error. |
||
---|---|---|
.. | ||
privatekey.go | ||
privatekey_test.go |