com.itextpdf.text.pdf.security
Class EncryptionAlgorithms

java.lang.Object
  extended by com.itextpdf.text.pdf.security.EncryptionAlgorithms

public class EncryptionAlgorithms
extends java.lang.Object

Class that contains a map with the different encryption algorithms.


Constructor Summary
EncryptionAlgorithms()
           
 
Method Summary
static java.lang.String getAlgorithm(java.lang.String oid)
          Gets the algorithm name for a certain id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionAlgorithms

public EncryptionAlgorithms()
Method Detail

getAlgorithm

public static java.lang.String getAlgorithm(java.lang.String oid)
Gets the algorithm name for a certain id.

Parameters:
oid - an id (for instance "1.2.840.113549.1.1.1")
Returns:
an algorithm name (for instance "RSA")


Copyright © 2013. All Rights Reserved.