DartRsaPss class
RsaPss implemented in pure Dart.
- Inheritance
-
- Object
- SignatureAlgorithm
- RsaPss
- DartRsaPss
Constructors
- DartRsaPss(HashAlgorithm hashAlgorithm, {int nonceLengthInBytes = RsaPss.defaultNonceLengthInBytes})
-
const
Properties
- hashAlgorithm → HashAlgorithm
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyPairType
→ KeyPairType<
KeyPairData, PublicKey> -
no setterinherited
- nonceLengthInBytes → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
newKeyPair(
{int modulusLength = RsaPss.defaultModulusLength, List< int> publicExponent = RsaPss.defaultPublicExponent}) → Future<RsaKeyPair> -
Generates a new KeyPair for this algorithm.
override
-
newKeyPairFromSeed(
List< int> seed) → Future<KeyPair> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> message, {required KeyPair keyPair}) → Future<Signature> -
Calculates signature for the message.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
List< int> message, {required Signature signature}) → Future<bool> -
Verifies the signature.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited