Guest User

Untitled

a guest
Jan 6th, 2016
87
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AsymmetricCipherKeyPair keyPair;
  2. using (var reader = File.OpenText(_pathSelected)) // file containing RSA PKCS1 private key
  3. {
  4. keyPair = (AsymmetricCipherKeyPair)new PemReader(reader).ReadObject();
  5. }
RAW Paste Data