| Class | Line # | Actions | |||||
|---|---|---|---|---|---|---|---|
| CipherAlgorithm | 6 | 2 | 0% | 2 | 0 |
| 1 | package org.europa.together.domain; | |
| 2 | ||
| 3 | /** | |
| 4 | * Available Cipher Algorithm. | |
| 5 | */ | |
| 6 | public enum CipherAlgorithm { | |
| 7 | ||
| 8 | /** | |
| 9 | * Rivest–Shamir–Adleman (RSA). | |
| 10 | */ | |
| 11 | RSA("RSA"); | |
| 12 | ||
| 13 | private final String value; | |
| 14 | ||
| 15 | //CONSTRUCTOR | |
| 16 | 1 | CipherAlgorithm(final String value) { |
| 17 | 1 | this.value = value; |
| 18 | } | |
| 19 | ||
| 20 | 1 | public String getValue() { |
| 21 | 1 | return this.value; |
| 22 | } | |
| 23 | } |