Card
@objc(VSSCard)
public class Card : NSObject
Class representing Virgil Card
-
Identifier of Virgil Card
Note
Is uniqueDeclaration
Swift
@objc public let identifier: String
-
Virgil Card identity
Declaration
Swift
@objc public let identity: String
-
VirgilPublicKey of Virgil Card
Declaration
Swift
@objc public let publicKey: VirgilPublicKey
-
Identifier of outdated previous Virgil Card with same identity
Declaration
Swift
@objc public let previousCardId: String?
-
Previous Virgil Card instance
Declaration
Swift
@objc public var previousCard: Card?
-
True if Virgil Card is outdated, false otherwise
Declaration
Swift
@objc public var isOutdated: Bool
-
Version of Virgil Card
Declaration
Swift
@objc public let version: String
-
Creation date of Virgil Card
Declaration
Swift
@objc public let createdAt: Date
-
Array with CardSignatures of Virgil Card
Declaration
Swift
@objc public let signatures: [CardSignature]
-
Snapshot of corresponding
RawCardContent
Declaration
Swift
@objc public let contentSnapshot: Data
-
Builds RawSignedModel representing Card
Throws
corresponding errorDeclaration
Swift
@objc public func getRawCard() throws -> RawSignedModel
Return Value
RawSignedModel representing Card