class Yoti::Anchor
Encapsulates attribute anchor
Attributes
Timestamp applied at the time of Anchor
creation.
@return [Yoti::SignedTimeStamp]
SubType is an indicator of any specific processing method, or subcategory, pertaining to an artifact.
Examples:
-
For a passport, this would be either “NFC” or “OCR”.
-
For a national ID, this could be “AADHAAR”.
@return [String]
Gets the type of the given anchor.
@return [String]
Gets the value of the given anchor.
Among possible options for SOURCE are “USER_PROVIDED”, “PASSPORT”, “DRIVING_LICENCE”, “NATIONAL_ID” and “PASSCARD”.
Among possible options for VERIFIER are “YOTI_ADMIN”, “YOTI_IDENTITY”, “YOTI_OTP”, “PASSPORT_NFC_SIGNATURE”, “ISSUING_AUTHORITY” and “ISSUING_AUTHORITY_PKI”.
@return [String]
Public Class Methods
@param [String] value @param [String] sub_type
@param [Yoti::SignedTimeStamp] signed_time_stamp
@param [Array<OpenSSL::X509::Certificate>] origin_server_certs
@param [String] type
# File lib/yoti/data_type/anchor.rb, line 59 def initialize(value, sub_type, signed_time_stamp, origin_server_certs, type = nil) @value = value @sub_type = sub_type @signed_time_stamp = signed_time_stamp @origin_server_certs = origin_server_certs @type = type end