PTTimestampingTestResult
@interface PTTimestampingTestResult : NSObject
A class representing the result of testing a timestamping configuration.
-
Retrieves the overall status of the timestamping configuration testing operation.
Declaration
Objective-C
- (BOOL)GetStatus;
Swift
func getStatus() -> Bool
Return Value
a boolean value representing the status.
-
Retrieves a result message regarding the timestamping configuration testing operation.
Note
Output may change in future versions.Declaration
Objective-C
- (NSString *)GetString;
Swift
func getString() -> String!
Return Value
a string result message.
-
Returns whether a timestamp response verification result is available. This means that false will be returned when a timestamp response was not received or was empty (e.g. network failures, improper server configuration, bad URL, etc.). This function should be called to check for the availability of a verification result before actually attempting to retrieve one using GetResponseVerificationResult (which throws if a result is not available).
Declaration
Objective-C
- (BOOL)HasResponseVerificationResult;
Swift
func hasResponseVerificationResult() -> Bool
Return Value
whether a timestamp response verification result is available
-
If a timestamp response was successfully retrieved from a timestamp authority, returns the result of verifying it. If a timestamp response was not received, throws. One should call HasResponseVerificationResult first to see if a detailed result is available before calling this function.
Declaration
Objective-C
- (PTEmbeddedTimestampVerificationResult *)GetResponseVerificationResult;
Swift
func getResponseVerificationResult() -> PTEmbeddedTimestampVerificationResult!
Return Value
a timestamp response verification result
-
Undocumented
Declaration
Objective-C
- (instancetype)init;
Swift
init!()