KeychainEntry
@objc(VSSKeychainEntry)
public final class KeychainEntry : NSObject
Class representing Keychain entry
-
Sensitive data
Declaration
Swift
@objc public let data: Data
-
Alias
Declaration
Swift
@objc public let name: String
-
Additional meta info
Declaration
Swift
@objc public let meta: [String : String]?
-
Entry creation date (obtained from Keychain)
Declaration
Swift
@objc public let creationDate: Date
-
Entry modification date (obtained from Keychain)
Declaration
Swift
@objc public let modificationDate: Date
-
Init
Declaration
Swift
@objc public init(data: Data, name: String, meta: [String : String]?, creationDate: Date, modificationDate: Date)
Parameters
data
Sensitive data
name
Alias
meta
Additional meta
creationDate
Creation date
modificationDate
Modification date
-
Equality operator
Declaration
Swift
static func == (lhs: KeychainEntry, rhs: KeychainEntry) -> Bool
Parameters
lhs
left argument
rhs
right argument
Return Value
true if left and right arguments are equal, false otherwiseKeychainStorageErrorCodes