PTTrustVerificationResult

@interface PTTrustVerificationResult : NSObject

The class TrustVerificationResult. The detailed result of a trust verification step of a verification operation performed on a digital signature.

  • Retrieves the trust verification status.

    Declaration

    Objective-C

    - (BOOL)WasSuccessful;

    Swift

    func wasSuccessful() -> Bool

    Return Value

    A boolean representing whether or not the trust verification operation was successful. Whether trust-related warnings are treated as errors or not depend on the VerificationOptions used for the verification operation.

  • Retrieves a string representation of the details of the trust verification status.

    Declaration

    Objective-C

    - (NSString *)GetResultString;

    Swift

    func getString() -> String!

    Return Value

    A string.

  • Retrieves the reference-time used for trust verification as an epoch time.

    Declaration

    Objective-C

    - (long long)GetTimeOfTrustVerification;

    Swift

    func getTimeOfTrustVerification() -> Int64

    Return Value

    An integral value representing an epoch time.

  • Retrieves the type of reference-time used for trust verification.

    Declaration

    Objective-C

    - (PTVerificationOptionsTimeMode)GetTimeOfTrustVerificationEnum;

    Swift

    func getTimeOfTrustVerificationEnum() -> PTVerificationOptionsTimeMode

    Return Value

    An enumerated value representing the type of reference-time used for trust verification.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImpl: (SWIGTYPE_TRN_TrustVerificationResult*)impl;

    Swift

    init!(impl: SWIGTYPE_TRN_TrustVerificationResult!)