blob: 552d964bf51266eb166b05eb76fc8f080f73df63 (
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 SignatureAlgorithm {
SHA256_WITH_RSA("SHA256withRSA"),
SHA512_WITH_RSA("SHA512withRSA");
private final String algorithmName;
SignatureAlgorithm(String algorithmName) {
this.algorithmName = algorithmName;
}
public String getAlgorithmName() {
return algorithmName;
}
}
|