BTAPIPinnedCertificates.h 740 B

1234567891011121314151617181920
  1. #import <Foundation/Foundation.h>
  2. // :rotating_light THIS CODE IS GENERATED BY codify_certificates.sh :rotating_light:
  3. /**
  4. Encapsualtes our trusted x509 Certificates for Secure SSL Communication with Braintree's servers.
  5. This class consists of code that is generated by the codify_certificates.sh script, which takes
  6. a set of PEM formatted certificates and encodes them in code in order to avoid storing certificates
  7. files in an NSBundle.
  8. */
  9. @interface BTAPIPinnedCertificates : NSObject
  10. /**
  11. Returns the set of trusted root certificates based on the PEM files located in this directory.
  12. @return An array of trusted certificates encoded in the DER format, encapsulated in NSData objects.
  13. */
  14. + (NSArray *)trustedCertificates;
  15. @end