@@ -0,0 +1,1026 @@
+package de.alpharogroup.crypto.key;%0A%0Aimport lombok.Getter;%0A%0A/**%0A * The enum %7B@link KeyFileFormat%7D.%0A */%0Apublic enum KeyFileFormat %7B%0A%0A%09/**%0A%09 * The constant for the file format DER. The DER file format is encoded in%0A%09 * binary form. DER formatted files usually have the file extension '*.der'.%0A%09 */%0A%09DER(%22der%22),%0A%0A%09/**%0A%09 * The constant for the file format PEM. The PEM file format is encoded%0A%09 * in Base64 ASCII format. PEM formatted files usually have the file extension '*.cer', '*.crt' and '*.pem'.%0A%09 */%0A%09PEM(%22cer%22, %22crt%22, %22pem%22),%0A%0A%09/**%0A%09 * The constant for the file format P7B. The P7B file format is encoded%0A%09 * in Base64 ASCII format. PEM formatted files usually have the file extension '*.p7b' and '*.p7c'.%0A%09 */%0A%09P7B(%22p7b%22, %22p7c%22);%0A%0A%09/** The file extensions. */%0A%09@Getter%0A%09private final String%5B%5D fileExtensions;%0A%0A%09/**%0A%09 * Instantiates a new key file format.%0A%09 *%0A%09 * @param fileExtensions%0A%09 *            the file extensions%0A%09 */%0A%09private KeyFileFormat(String... fileExtensions) %7B%0A%09%09this.fileExtensions = fileExtensions;%0A%09%7D%0A%7D%0A

Create KeyFileFormat.java