RawSignature
@objc(VSSRawSignature)
public final class RawSignature : NSObject, Codable
Represents signature for RawSignedModel
-
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?
-
Initializes a new
RawSignature
with the provided signer, signature and snapshotDeclaration
Swift
@objc public init(signer: String, signature: Data, snapshot: Data? = nil)
Parameters
signer
identifier of signer
signature
signature data
snapshot
additional data