reporting_utils.h 527 B

123456789101112131415161718192021222324
  1. /*
  2. reporting_utils.h
  3. TrustKit
  4. Copyright 2015 The TrustKit Project Authors
  5. Licensed under the MIT license, see associated LICENSE file for terms.
  6. See AUTHORS file for the list of project authors.
  7. */
  8. #if __has_feature(modules)
  9. @import Foundation;
  10. #else
  11. #import <Foundation/Foundation.h>
  12. #endif
  13. #ifndef TrustKit_reporting_utils_h
  14. #define TrustKit_reporting_utils_h
  15. NSArray<NSString *> *convertTrustToPemArray(SecTrustRef serverTrust);
  16. NSArray<NSString *> *convertPinsToHpkpPins(NSSet<NSData *> *knownPins);
  17. #endif