TSKTrustKitConfig.m 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. TSKTrustKitConfig.m
  3. TrustKit
  4. Copyright 2017 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. #import "TSKTrustKitConfig.h"
  9. NSString * const TrustKitVersion = @"1.6.3";
  10. // General keys
  11. const TSKGlobalConfigurationKey kTSKSwizzleNetworkDelegates = @"TSKSwizzleNetworkDelegates";
  12. const TSKGlobalConfigurationKey kTSKPinnedDomains = @"TSKPinnedDomains";
  13. const TSKGlobalConfigurationKey kTSKIgnorePinningForUserDefinedTrustAnchors = @"TSKIgnorePinningForUserDefinedTrustAnchors";
  14. // Keys for each domain within the TSKPinnedDomains entry
  15. const TSKDomainConfigurationKey kTSKPublicKeyHashes = @"TSKPublicKeyHashes";
  16. const TSKDomainConfigurationKey kTSKEnforcePinning = @"TSKEnforcePinning";
  17. const TSKDomainConfigurationKey kTSKExcludeSubdomainFromParentPolicy = @"kSKExcludeSubdomainFromParentPolicy";
  18. const TSKDomainConfigurationKey kTSKIncludeSubdomains = @"TSKIncludeSubdomains";
  19. const TSKDomainConfigurationKey kTSKPublicKeyAlgorithms = @"TSKPublicKeyAlgorithms";
  20. const TSKDomainConfigurationKey kTSKReportUris = @"TSKReportUris";
  21. const TSKDomainConfigurationKey kTSKDisableDefaultReportUri = @"TSKDisableDefaultReportUri";
  22. const TSKDomainConfigurationKey kTSKExpirationDate = @"TSKExpirationDate";
  23. #pragma mark Public key Algorithms Constants
  24. const TSKSupportedAlgorithm kTSKAlgorithmRsa2048 = @"TSKAlgorithmRsa2048";
  25. const TSKSupportedAlgorithm kTSKAlgorithmRsa4096 = @"TSKAlgorithmRsa4096";
  26. const TSKSupportedAlgorithm kTSKAlgorithmEcDsaSecp256r1 = @"TSKAlgorithmEcDsaSecp256r1";
  27. const TSKSupportedAlgorithm kTSKAlgorithmEcDsaSecp384r1 = @"TSKAlgorithmEcDsaSecp384r1";