mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-20 23:09:33 +02:00
22 lines
366 B
Java
22 lines
366 B
Java
package de.vanitasvitae.crypto.pgpainless.key.generation.type.length;
|
|
|
|
public enum DiffieHellmanLength implements KeyLength {
|
|
|
|
_1024(1024),
|
|
_2048(2048),
|
|
_3072(3072),
|
|
;
|
|
|
|
private final int length;
|
|
|
|
DiffieHellmanLength(int length) {
|
|
this.length = length;
|
|
}
|
|
|
|
@Override
|
|
public int getLength() {
|
|
return length;
|
|
}
|
|
|
|
}
|