Class EncryptionAlgorithms
java.lang.Object
com.itextpdf.text.pdf.security.EncryptionAlgorithms
Class that contains a map with the different encryption algorithms.
-
Field Summary
FieldsModifier and TypeFieldDescriptionMaps IDs of encryption algorithms with its human-readable name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddAlgorithm(String oid, String name) Allows new oid to be added.static StringgetAlgorithm(String oid) Gets the algorithm name for a certain id.
-
Field Details
-
algorithmNames
-
-
Constructor Details
-
EncryptionAlgorithms
public EncryptionAlgorithms()
-
-
Method Details
-
getAlgorithm
-
addAlgorithm
Allows new oid to be added.- Parameters:
oid-name-- Throws:
GeneralSecurityException
-