CardSignature
@objc(VSSCardSignature)
public final class CardSignature : NSObject
Class representing Virgil Card Signature
-
Identifier of signer
Important
Must be unique. Reserved values:- Self signatures: “self”
- Virgil Service signatures: “virgil”
Declaration
Swift
@objc public let signer: String
-
Signature data
Declaration
Swift
@objc public let signature: Data
-
Additional data
Declaration
Swift
@objc public let snapshot: Data?
-
Dictionary with additional data
Declaration
Swift
@objc public let extraFields: [String : String]?
-
Initializer
Declaration
Swift
@objc public init(signer: String, signature: Data, snapshot: Data?, extraFields: [String : String]? = nil)
Parameters
signer
identifier of signer
signature
signature data
snapshot
additional data
extraFields
dictionary with additional data