IPWorks Encrypt 2020 iOS Edition

Questions / Feedback?

hashValue (property)

The hash value of the data.

Syntax

@property (nonatomic,readwrite,assign,getter=hashValue,setter=setHashValue:) NSString* hashValue;
- (NSString*)hashValue;
- (void)setHashValue:(NSString*)newHashValue;

@property (nonatomic,readwrite,assign,getter=hashValueB,setter=setHashValueB:) NSData* hashValueB; - (NSData*)hashValueB; - (void)setHashValueB:(NSData*)newHashValue;
public var hashValue_: String {
  get {...}
set {...} }
public var hashValue_B: Data { get {...}
set {...} }

Default Value

""

Remarks

This property holds the computed hash value for the specified data. This is populated when calling Sign or VerifySignature when an input file is specified by setting InputFile or InputMessage.

Pre-existing hash values may be set to this property before calling Sign or VerifySignature. If you know the hash value prior to using the class you may specify the pre-computed hash value here.

This setting is not applicable to PureEdDSA algorithms. If KeyAlgorithm is ed25519 or ed448 and HashEdDSA is False (default) the PureEdDSA algorithm is use and HashValue is not applicable.

Hash Notes

The class will determine whether or not to recompute the hash based on the properties that are set. If a file is specified by InputFile or InputMessage the hash will be recomputed when calling Sign or VerifySignature. If the HashValue property is set the class will only sign the hash or verify the hash signature. Setting InputFile or InputMessage clears the HashValue property. Setting the HashValue property clears the input file selection.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 iOS Edition - Version 20.0 [Build 8155]