View Javadoc

1   package com.atlassian.asap.api;
2   
3   public enum AlgorithmType {
4       RSA("RSA"), // RSASSA-PKCS1-V1_5
5       ECDSA("EC"), // Elliptic Curve Algorithm
6       RSASSA_PSS("RSASSA-PSS");  // RSASSA-PSS PKCS# 1 v 2.1.
7   
8       /**
9        * the standard name to use with the cryptographic provider.
10       */
11      private final String algorithmName;
12  
13      AlgorithmType(String algorithmName) {
14          this.algorithmName = algorithmName;
15      }
16  
17      public String algorithmName() {
18          return algorithmName;
19      }
20  }
21