AuthSamlXmlDsigPolicy class final
Explicit algorithm and structural policy for the portable XMLDSig verifier.
The default accepts the broadly deployed RSA-SHA256/SHA-256 profile only. Applications must deliberately opt into every additional implemented algorithm. SHA-1 is not implemented and cannot be enabled.
Constructors
-
AuthSamlXmlDsigPolicy({Set<
AuthSamlXmlDsigSignatureAlgorithm> signatureAlgorithms = const {AuthSamlXmlDsigSignatureAlgorithm.rsaSha256}, Set<AuthSamlXmlDsigDigestAlgorithm> digestAlgorithms = const {AuthSamlXmlDsigDigestAlgorithm.sha256}, int maxSignatures = 2}) - Creates an explicit XMLDSig algorithm and signature-count policy.
Properties
-
digestAlgorithms
→ Set<
AuthSamlXmlDsigDigestAlgorithm> -
Digest algorithms accepted by the verifier.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSignatures → int
-
Maximum number of XML signatures accepted in one document.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signatureAlgorithms
→ Set<
AuthSamlXmlDsigSignatureAlgorithm> -
Signature algorithms accepted by the verifier.
final
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