VSSRequestExtended Class Reference
Inherits from | VSSRequest |
---|---|
Declared in | VSSRequestExtended.h |
Overview
The extended version of the VSSRequest class. Manages additional logic specific for the Virgil Services.
– sign
Performs all necessary operations to sign the request. Signature is composed based on the request context. The signature is added to the request headers.
- (NSError *__nullable)sign
Return Value
NSError object with error description (in this case there will be no signature in the headers). Nil - in case all is OK.
Declared In
VSSRequestExtended.h
– verify
Performs all necessary operations to verify the signature of the response. Signature is taken from the response header.
- (NSError *__nullable)verify
Return Value
NSError object with error description. Nil - in case all is OK.
Declared In
VSSRequestExtended.h
– encrypt
Performs all necessary operations to encrypt the request. Encryption data is composed based on the request context. The encrypted data is used as a request body.
- (NSError *__nullable)encrypt
Return Value
NSError object with error description. Nil - in case all is OK.
Declared In
VSSRequestExtended.h
– decrypt
Performs all necessary operations to decrypt the response. Response body will be decrypted based on the request context. Decrypted data will be used as a response body.
- (NSError *__nullable)decrypt
Return Value
NSError object with error description. Nil - in case all is OK.
Declared In
VSSRequestExtended.h
– extendedContext
Used to conveniently cast the request context to the extended version.
- (VSSRequestContextExtended *__nullable)extendedContext
Return Value
Extended request context or nil.
Declared In
VSSRequestExtended.h