RSAPublicKey.bytes constructor
RSAPublicKey.bytes(
- Uint8List bytes
Implementation
RSAPublicKey.bytes(Uint8List bytes) {
try {
key = KeyParser.rsaPublicKey(bytes);
} catch (_) {
key = KeyParser.rsaPublicKeyPKCS1(bytes);
}
}