View Javadoc
1   /*
2    * GordianKnot: Security Suite
3    * Copyright 2026. Tony Washer
4    *
5    * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6    * use this file except in compliance with the License.  You may obtain a copy
7    * of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
14   * License for the specific language governing permissions and limitations under
15   * the License.
16   */
17  
18  package io.github.tonywasher.joceanus.gordianknot.api.cipher.spec;
19  
20  /**
21   * Cipher Modes. Available algorithms.
22   */
23  public enum GordianCipherMode {
24      /**
25       * ECB Mode.
26       */
27      ECB,
28  
29      /**
30       * CBC Mode.
31       */
32      CBC,
33  
34      /**
35       * SIC(CTR) Mode.
36       */
37      SIC,
38  
39      /**
40       * CFB Mode.
41       */
42      CFB,
43  
44      /**
45       * CFB8 Mode.
46       */
47      CFB8,
48  
49      /**
50       * OFB Mode.
51       */
52      OFB,
53  
54      /**
55       * OFB8 Mode.
56       */
57      OFB8,
58  
59      /**
60       * EAX Mode.
61       */
62      EAX,
63  
64      /**
65       * CCM Mode.
66       */
67      CCM,
68  
69      /**
70       * GCM Mode.
71       */
72      GCM,
73  
74      /**
75       * OCB Mode.
76       */
77      OCB,
78  
79      /**
80       * GCFB Mode.
81       */
82      GCFB,
83  
84      /**
85       * GOFB Mode.
86       */
87      GOFB,
88  
89      /**
90       * KCTR Mode.
91       */
92      KCTR,
93  
94      /**
95       * KCCM Mode.
96       */
97      KCCM,
98  
99      /**
100      * KGCM Mode.
101      */
102     KGCM,
103 
104     /**
105      * G3413CBC Mode.
106      */
107     G3413CBC,
108 
109     /**
110      * G3413CFB Mode.
111      */
112     G3413CFB,
113 
114     /**
115      * G3413OFB Mode.
116      */
117     G3413OFB,
118 
119     /**
120      * G3413CTR Mode.
121      */
122     G3413CTR,
123 
124     /**
125      * GCMSIV Mode.
126      */
127     GCMSIV;
128 }