PointyCastle/pointycastle

How to load ECPrivateKey from string

Closed this issue · 1 comments

String privateKeyString = '''-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg2sfmpsl894GDcNOl
vzKW0gzf/b8XvQigr/rZGSjKydqhRANCAASd3bWS7Sb5Vm8ze0kA/cggzddcaVo8
zbOFG6tr7+qKgmhTAMruotu4XNyZscfHoQudcVeACMNtmAXIx19ybW6D
-----END PRIVATE KEY-----''';

How to load ECPrivateKey from above (or other representation in) string?

@ramasa try to look at rsa_pkcs