OQS_SIG class final
Signature schemes object
- Inheritance
- Implemented types
- Available extensions
Constructors
- OQS_SIG()
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
alg_version
↔ Pointer<
Char> -
Printable string representing the version of the cryptographic algorithm.
getter/setter pair
- claimed_nist_level ↔ int
-
The NIST security level (1, 2, 3, 4, 5) claimed in this algorithm's original NIST submission.
getter/setter pair
- euf_cma ↔ bool
-
Whether the signature offers EUF-CMA security (TRUE) or not (FALSE).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keypair
↔ Pointer<
NativeFunction< Int Function(Pointer< >Uint8> public_key, Pointer<Uint8> secret_key)> -
Keypair generation algorithm.
getter/setter pair
- length_public_key ↔ int
-
The length, in bytes, of public keys for this signature scheme.
getter/setter pair
- length_secret_key ↔ int
-
The length, in bytes, of secret keys for this signature scheme.
getter/setter pair
- length_signature ↔ int
-
The (maximum) length, in bytes, of signatures for this signature scheme.
getter/setter pair
-
method_name
↔ Pointer<
Char> -
Printable string representing the name of the signature scheme.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sig_with_ctx_support ↔ bool
-
Whether the signature supports signing with a context string (TRUE) or not (FALSE).
getter/setter pair
-
sign
↔ Pointer<
NativeFunction< Int Function(Pointer< >Uint8> signature, Pointer<Size> signature_len, Pointer<Uint8> message, Size message_len, Pointer<Uint8> secret_key)> -
Signature generation algorithm.
getter/setter pair
-
sign_with_ctx_str
↔ Pointer<
NativeFunction< Int Function(Pointer< >Uint8> signature, Pointer<Size> signature_len, Pointer<Uint8> message, Size message_len, Pointer<Uint8> ctx_str, Size ctx_str_len, Pointer<Uint8> secret_key)> -
Signature generation algorithm, with custom context string.
getter/setter pair
- suf_cma ↔ bool
-
Whether the signature offers SUF-CMA security (TRUE) or not (FALSE).
getter/setter pair
-
verify
↔ Pointer<
NativeFunction< Int Function(Pointer< >Uint8> message, Size message_len, Pointer<Uint8> signature, Size signature_len, Pointer<Uint8> public_key)> -
Signature verification algorithm.
getter/setter pair
-
verify_with_ctx_str
↔ Pointer<
NativeFunction< Int Function(Pointer< >Uint8> message, Size message_len, Pointer<Uint8> signature, Size signature_len, Pointer<Uint8> ctx_str, Size ctx_str_len, Pointer<Uint8> public_key)> -
Signature verification algorithm, with custom context string.
getter/setter pair
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