---
title: SecAsn1TemplateChooser
framework: security
role: symbol
role_heading: Type Alias
path: security/secasn1templatechooser
---

# SecAsn1TemplateChooser

Dynamically provides the sub-template to use during encode or decode.

## Declaration

```swift
typealias SecAsn1TemplateChooser = (UnsafeMutableRawPointer, DarwinBoolean, UnsafePointer<CChar>, Int, UnsafeMutableRawPointer) -> UnsafePointer<SecAsn1Template>?
```
