RSA class

Constructors

RSA.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

bindingEnabled bool
getter/setter pair

Static Methods

base64(String message) Future<String>
convertJWKToPrivateKey(dynamic data, String keyId) Future<String>
convertJWKToPublicKey(dynamic data, String keyId) Future<String>
convertKeyPairToPKCS12(String privateKey, String certificate, String password) Future<String>
convertPKCS12ToKeyPair(String pkcs12, String password) Future<PKCS12KeyPair>
convertPrivateKeyToJWK(String privateKey) Future
convertPrivateKeyToPKCS1(String privateKey) Future<String>
convertPrivateKeyToPKCS8(String privateKey) Future<String>
convertPrivateKeyToPublicKey(String privateKey) Future<String>
convertPublicKeyToJWK(String publicKey) Future
convertPublicKeyToPKCS1(String publicKey) Future<String>
convertPublicKeyToPKIX(String publicKey) Future<String>
decryptOAEP(String ciphertext, String label, Hash hash, String privateKey) Future<String>
decryptOAEPBytes(Uint8List ciphertext, String label, Hash hash, String privateKey) Future<Uint8List>
decryptPKCS1v15(String ciphertext, String privateKey) Future<String>
decryptPKCS1v15Bytes(Uint8List ciphertext, String privateKey) Future<Uint8List>
decryptPrivateKey(String privateKeyEncrypted, String password) Future<String>
encryptOAEP(String message, String label, Hash hash, String publicKey) Future<String>
encryptOAEPBytes(Uint8List message, String label, Hash hash, String publicKey) Future<Uint8List>
encryptPKCS1v15(String message, String publicKey) Future<String>
encryptPKCS1v15Bytes(Uint8List message, String publicKey) Future<Uint8List>
encryptPrivateKey(String privateKey, String password, PEMCipher cipher) Future<String>
generate(int bits) Future<KeyPair>
hash(String message, Hash hash) Future<String>
Creates a combined hash code for a number of objects.
override
signPKCS1v15(String message, Hash hash, String privateKey) Future<String>
signPKCS1v15Bytes(Uint8List message, Hash hash, String privateKey) Future<Uint8List>
signPSS(String message, Hash hash, SaltLength saltLength, String privateKey) Future<String>
signPSSBytes(Uint8List message, Hash hash, SaltLength saltLength, String privateKey) Future<Uint8List>
verifyPKCS1v15(String signature, String message, Hash hash, String publicKey) Future<bool>
verifyPKCS1v15Bytes(Uint8List signature, Uint8List message, Hash hash, String publicKey) Future<bool>
verifyPSS(String signature, String message, Hash hash, SaltLength saltLength, String publicKey) Future<bool>
verifyPSSBytes(Uint8List signature, Uint8List message, Hash hash, SaltLength saltLength, String publicKey) Future<bool>