<!--
{
  "availability" : [
    "macOS: 10.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecAsn1AlgId",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@SA@SecAsn1AlgId"
  },
  "title" : "SecAsn1AlgId"
}
-->

# SecAsn1AlgId

A structure identifying an ASN.1 algorithm by its OID, and its corresponding parameters.

```
struct SecAsn1AlgId
```

## Topics

### Algorithm Characteristics

[`algorithm`](/documentation/Security/SecAsn1AlgId/algorithm)

[`parameters`](/documentation/Security/SecAsn1AlgId/parameters)

### Creating a Structure

[`init()`](/documentation/Security/SecAsn1AlgId/init())

[`init(algorithm:parameters:)`](/documentation/Security/SecAsn1AlgId/init(algorithm:parameters:))



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)