---
title: "DNSSec algorithm enum"
url: "https://help.internetx.com/en/api/core-dnssec-algorithm-enum/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Enums and constants"
updated: "2023-09-26"
---

# DNSSec algorithm enum

## Description

Sets DNSSEC algorithm.

## Possible values

-   1 = RSA/MD5
    
-   2 = DIFFIE HELLMANN
    
-   3 = DSA/SHA-1
    
-   4 = ELLIPTIC CURVES
    
-   5 = RSA/SHA-1
    
-   6 = DSA-NSEC-SHA1
    
-   7 = RSASHA1-NSEC3-SHA1
    
-   8 = RSA/SHA-256
    
-   10 = RSA/SHA-512
    
-   12 = GOST R 34.10-2001
    
-   13 = ECDSA P-256/SHA-256
    
-   14 = ECDSA P-384/SHA-384
    
-   252 = INDIRECT - Indirect Key; the actual key is located somewhere else
    
-   253 = PRIVATE-DNS - Private algorithm, determined by the domain name
    
-   254 = PRIVATE-OID - Private algorithm, fixed OID
