VSSSign Class Reference

Inherits from VSSBaseModel : VSSModel : NSObject
Declared in VSSSign.h

Overview

Wrapper for model representing the trusting signatures.

One user might want to explicitly state that he/she trusts another user. In this case the first user signs the other user Virgil Card object.

Other Methods

  signedCardId

Id of the Virgil Card which is marked as trusted.

@property (nonatomic, copy, readonly) GUID *signedCardId

Declared In

VSSSign.h

  digest

Signature digest which might be checked.

@property (nonatomic, copy, readonly) NSData *digest

Declared In

VSSSign.h

  signerCardId

Id of the Virgil Card whose owner trusts other card (which Id is set in signedCardId).

@property (nonatomic, copy, readonly) GUID *signerCardId

Declared In

VSSSign.h

  data

Custom key-value pairs data.

@property (nonatomic, copy, readonly) NSDictionary *data

Declared In

VSSSign.h

Lifecycle

– initWithId:createdAt:signedCardId:digest:signerCardId:data:

Designated constructor.

- (instancetype __nonnull)initWithId:(GUID *__nonnull)Id createdAt:(NSDate *__nullable)createdAt signedCardId:(GUID *__nonnull)signedId digest:(NSData *__nonnull)digest signerCardId:(GUID *__nullable)signerId data:(NSDictionary *__nullable)data

Parameters

Id

Unique identifier of the model.

createdAt

Date when model was created.

signedId

Id of the Virgil Card which is marked as trusted.

digest

Signature digest which might be checked.

signerId

Id of the Virgil Card whose owner trusts other card (which Id is set in signedId).

data

Custom key-value pairs data.

Return Value

Instance of the Virgil Public Key wrapper object.

Declared In

VSSSign.h