added method for recovering KEK algorithm name.
this.parser = parser;
}
+ /**
+ * Return the key encryption algorithm name that was in the original DEK-Info field.
+ *
+ * @return the key encryption algorithm name.
+ */
+ public String getDekAlgName()
+ {
+ return dekAlgName;
+ }
+
public PEMKeyPair decryptKeyPair(PEMDecryptorProvider keyDecryptorProvider)
throws IOException
{
