aboutsummaryrefslogtreecommitdiffstats
path: root/security-utils/src/main/java/com/yahoo/security/KeyAlgorithm.java
blob: 3218f81f0d65d817abf3c40512c0ca013b30274c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.security;

/**
 * @author bjorncs
 */
public enum KeyAlgorithm {
    RSA("RSA"),
    EC("EC");

    final String algorithmName;

    KeyAlgorithm(String algorithmName) {
        this.algorithmName = algorithmName;
    }

    String getAlgorithmName() {
        return algorithmName;
    }
}