VSSPrivateKey Class Reference

Inherits from VSSModel : NSObject
Declared in VSSPrivateKey.h

Overview

Wrapper object for user’s private key. Similarly to VSSPublicKey contains actual private key data. Also might contain the password which was used to protect the private key.

Other Methods

  key

Actual private key’s data.

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

Declared In

VSSPrivateKey.h

  password

Password used for private key’s prorection. Might be nil.

@property (nonatomic, copy, readonly) NSString *password

Declared In

VSSPrivateKey.h

Lifecycle

– initWithKey:password:

Designated constructor.

- (instancetype __nonnull)initWithKey:(NSData *__nonnull)key password:(NSString *__nullable)password

Parameters

key

Actual private key’s data.

password

Password used for private key’s prorection or nil.

Return Value

Instance of the Virgil Public Key wrapper object.

Declared In

VSSPrivateKey.h