Fix documentation example for `Rsa::from_private_components`
The existing documentation probably went out of sync when refactoring `Rsa` into `RsaPrivateKeyBuilder`. This change fixes the example by using code similar to the actual implementation. Additionally the example has been converted to a doctest so that any future refactorings should be captured by the test.
Loading
Please register or sign in to comment