OneTimeKey

@objc(VSROneTimeKey)
public final class OneTimeKey : NSObject, Codable

Class representing One-time private key

  • Key id

    Declaration

    Swift

    @objc
    public let identifier: Data
  • key

    Private key

    Declaration

    Swift

    @objc
    public let key: Data
  • Date from which we found out that this key is orphaned

    Declaration

    Swift

    @objc
    public let orphanedFrom: Date?
  • Initializer

    Declaration

    Swift

    @objc
    public init(identifier: Data, key: Data, orphanedFrom: Date?)

    Parameters

    identifier

    key id

    key

    private key

    orphanedFrom

    date from which we found out that this key is orphaned