RSAPublicKey.bytes constructor

RSAPublicKey.bytes(
  1. Uint8List bytes
)

Implementation

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