IWClaimManager

This framework is written with Object-C

makeRequestVerifiableClaim

+ (nullable NSString *)makeRequestVerifiableClaim:(NSString *)did
                                          privacy:(nullable NSString *)privacy
                                        signKeyId:(NSString *)signKeyId
                                            nonce:(NSString *)nonce
                                       keyManager:(IWKeyManager *)keyManager

Description

  • Creates the VC Request string for issuing verifiable VC

Parameters

Type

Parameter

Description

NSString

did

User's DID

NSString

privacy

User's Privacy Data String in JSON format

NSString

signKeyId

Key alias to be used on signature

NSString

nonce

Unpredictable String (random value)

IWKeyManager

keyManager

IWKeyManager object in unlocked status

Return Value

  • The verifiable VC Request String in JSON format

makeVerifiableClaimCopyWithClaimDataJson

+ (nullable NSString *)makeVerifiableClaimCopyWithClaimDataJson:(NSString *)claimDataJson
                                                        privacy:(NSString *)privacy
                                                         spData:(NSString *)spData
                                                      signKeyId:(NSString *)signKeyId
                                                          nonce:(NSString *)nonce
                                                     keyManager:(IWKeyManager *)keyManager
                                           additionalSignString:(nullable NSString *)addSignString

Description

  • Obtains the verifiable VC copy in JSON format for submitting.

Parameters

Type

Parameter

Description

NSString

claimDataJson

Verifiable VC in JSON format

NSString

privacy

User's Private Data in JSON format

NSString

spData

Service Provider's data in JSON format

NSString

signKeyId

Key alias to be used on signature

NSString

nonce

Unpredictable String (random value)

IWKeyManager

keyManager

IWKeyManager object in unlocked status

NSString

addSignString

Additional data to sign

Return Value

  • Verifiable VC in JSON format

Last updated