RSASync extension

on

Static Methods

base64(String message) → String

Available on RSA, provided by the RSASync extension

convertJWKToPrivateKey(dynamic data, String keyId) → String

Available on RSA, provided by the RSASync extension

convertJWKToPublicKey(dynamic data, String keyId) → String

Available on RSA, provided by the RSASync extension

convertKeyPairToPKCS12(String privateKey, String certificate, String password) → String

Available on RSA, provided by the RSASync extension

convertPKCS12ToKeyPair(String pkcs12, String password) → PKCS12KeyPair

Available on RSA, provided by the RSASync extension

convertPrivateKeyToJWK(String privateKey) → dynamic

Available on RSA, provided by the RSASync extension

convertPrivateKeyToPKCS1(String privateKey) → String

Available on RSA, provided by the RSASync extension

convertPrivateKeyToPKCS8(String privateKey) → String

Available on RSA, provided by the RSASync extension

convertPrivateKeyToPublicKey(String privateKey) → String

Available on RSA, provided by the RSASync extension

convertPublicKeyToJWK(String publicKey) → dynamic

Available on RSA, provided by the RSASync extension

convertPublicKeyToPKCS1(String publicKey) → String

Available on RSA, provided by the RSASync extension

convertPublicKeyToPKIX(String publicKey) → String

Available on RSA, provided by the RSASync extension

decryptOAEP(String ciphertext, String label, Hash hash, String privateKey) → String

Available on RSA, provided by the RSASync extension

decryptOAEPBytes(Uint8List ciphertext, String label, Hash hash, String privateKey) → Uint8List

Available on RSA, provided by the RSASync extension

decryptPKCS1v15(String ciphertext, String privateKey) → String

Available on RSA, provided by the RSASync extension

decryptPKCS1v15Bytes(Uint8List ciphertext, String privateKey) → Uint8List

Available on RSA, provided by the RSASync extension

decryptPrivateKey(String privateKeyEncrypted, String password) → String

Available on RSA, provided by the RSASync extension

encryptOAEP(String message, String label, Hash hash, String publicKey) → String

Available on RSA, provided by the RSASync extension

encryptOAEPBytes(Uint8List message, String label, Hash hash, String publicKey) → Uint8List

Available on RSA, provided by the RSASync extension

encryptPKCS1v15(String message, String publicKey) → String

Available on RSA, provided by the RSASync extension

encryptPKCS1v15Bytes(Uint8List message, String publicKey) → Uint8List

Available on RSA, provided by the RSASync extension

encryptPrivateKey(String privateKey, String password, PEMCipher cipher) → String

Available on RSA, provided by the RSASync extension

generate(int bits) → KeyPair

Available on RSA, provided by the RSASync extension

hash(String message, Hash hash) → String

Available on RSA, provided by the RSASync extension

signPKCS1v15(String message, Hash hash, String privateKey) → String

Available on RSA, provided by the RSASync extension

signPKCS1v15Bytes(Uint8List message, Hash hash, String privateKey) → Uint8List

Available on RSA, provided by the RSASync extension

signPSS(String message, Hash hash, SaltLength saltLength, String privateKey) → String

Available on RSA, provided by the RSASync extension

signPSSBytes(Uint8List message, Hash hash, SaltLength saltLength, String privateKey) → Uint8List

Available on RSA, provided by the RSASync extension

verifyPKCS1v15(String signature, String message, Hash hash, String publicKey) → bool

Available on RSA, provided by the RSASync extension

verifyPKCS1v15Bytes(Uint8List signature, Uint8List message, Hash hash, String publicKey) → bool

Available on RSA, provided by the RSASync extension

verifyPSS(String signature, String message, Hash hash, SaltLength saltLength, String publicKey) → bool

Available on RSA, provided by the RSASync extension

verifyPSSBytes(Uint8List signature, Uint8List message, Hash hash, SaltLength saltLength, String publicKey) → bool

Available on RSA, provided by the RSASync extension