List of usage examples for org.bouncycastle.bcpg HashAlgorithmTags TIGER_192
int TIGER_192
To view the source code for org.bouncycastle.bcpg HashAlgorithmTags TIGER_192.
Click Source Link
From source file:divconq.pgp.PGPUtil.java
License:Open Source License
public static String getDigestName(int hashAlgorithm) throws PGPException { switch (hashAlgorithm) { case HashAlgorithmTags.SHA1: return "SHA1"; case HashAlgorithmTags.MD2: return "MD2"; case HashAlgorithmTags.MD5: return "MD5"; case HashAlgorithmTags.RIPEMD160: return "RIPEMD160"; case HashAlgorithmTags.SHA256: return "SHA256"; case HashAlgorithmTags.SHA384: return "SHA384"; case HashAlgorithmTags.SHA512: return "SHA512"; case HashAlgorithmTags.SHA224: return "SHA224"; case HashAlgorithmTags.TIGER_192: return "TIGER"; default://w w w .j av a 2 s. co m throw new PGPException("unknown hash algorithm tag in getDigestName: " + hashAlgorithm); } }