SignedXml class

Constructors

SignedXml([String idMode = '', Map<String, dynamic> options = const {}])
Xml signature implementation

Properties

canonicalizationAlgorithm String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idAttributes List<String>
final
idMode String
final
implicitTransforms List<String>
getter/setter pair
inclusiveNamespacesPrefixList String
getter/setter pair
keyInfo String?
getter/setter pair
keyInfoProvider KeyInfoProvider?
getter/setter pair
options Map<String, dynamic>
final
originalXmlWithIds String
no setter
references List<_Reference>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatureAlgorithm String
getter/setter pair
signatureValue String
getter/setter pair
signatureXml String
no setter
signedXml String
no setter
signingCert Uint8List?
getter/setter pair
signingKey Uint8List?
getter/setter pair
validationErrors List<String>
final

Methods

addReference(String? xpath, [List<String>? transforms, String? digestAlgorithm, String? uri, String? digestValue, String? inclusiveNamespacesPrefixList, bool isEmptyUri = false]) → void
checkSignature(String xml, [ValidateSignatureCallback? callback]) bool
computeSignature(String xml, {Map<String, dynamic>? opts, ComputeSignatureCallback? callback}) → void
Compute the signature of the given xml (using the already defined settings)
loadSignature(dynamic signatureNode) → void
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 Methods

enableHMAC() → void
Due to key-confusion issues, its risky to have both hmac and digital signature algos enabled at the same time. This enables HMAC and disables other signing algos.