| 1 | #ifndef AWS_IO_S2N_APPLE_KEYCHAIN_H |
| 2 | #define AWS_IO_S2N_APPLE_KEYCHAIN_H |
| 3 | |
| 4 | /** |
| 5 | * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 6 | * SPDX-License-Identifier: Apache-2.0. |
| 7 | */ |
| 8 | |
| 9 | struct aws_allocator; |
| 10 | struct s2n_config; |
| 11 | |
| 12 | /* Loads trusted root CA certificates from the macOS searchable keychains into the s2n config. Certificates from |
| 13 | * SystemRootCertificates.keychain are NOT processed here since s2n-tls will get them from the bundle system roots |
| 14 | * instead. */ |
| 15 | void aws_tls_s2n_load_macos_keychain_root_cas(struct s2n_config *config, struct aws_allocator *alloc); |
| 16 | |
| 17 | #endif /* AWS_IO_S2N_APPLE_KEYCHAIN_H */ |