RsaKeyPair.decode constructor
RsaKeyPair.decode(
- SSHPem pem
Implementation
factory RsaKeyPair.decode(SSHPem pem) {
final dekInfoHeader = pem.headers['DEK-Info'];
final dekInfo =
dekInfoHeader != null ? RsaKeyPairDEKInfo.parse(dekInfoHeader) : null;
final keyBlob = pem.content;
return RsaKeyPair(dekInfo, keyBlob);
}