HMACKey (property)
The HMAC key used with the 'HMAC-SHA1' signing algorithm.
Syntax
@property (nonatomic,readwrite,assign,getter=HMACKey,setter=setHMACKey:) NSString* HMACKey; - (NSString*)HMACKey; - (void)setHMACKey:(NSString*)newHMACKey;
@property (nonatomic,readwrite,assign,getter=HMACKeyB,setter=setHMACKeyB:) NSData* HMACKeyB; - (NSData*)HMACKeyB; - (void)setHMACKeyB:(NSData*)newHMACKey;
public var HMACKey: String { get {...}
set {...} }
public var HMACKeyB: Data { get {...}
set {...} }
Default Value
""
Remarks
This property defines the HMAC key to be used when SigningAlgorithm is set to "HMAC-SHA1". This must be set before calling before calling Sign.
This property is also applicable when calling VerifySignature. This may be set before calling VerifySignature or from within the SignatureInfo event.