Back to project page android-simple-storage.
The source code is released under:
Apache License
If you think the Android project android-simple-storage listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sromku.simple.storage.security; /* w ww . jav a 2 s.c om*/ /** * @author Roman Kushnarenko - sromku (sromku@gmail.com) */ public enum CipherPaddingType { NoPadding("NoPadding"), PKCS5Padding("PKCS5Padding"), PKCS1Padding("PKCS1Padding"), OAEPWithSHA_1AndMGF1Padding("OAEPWithSHA-1AndMGF1Padding"), OAEPWithSHA_256AndMGF1Padding("OAEPWithSHA-256AndMGF1Padding"); private String mName; private CipherPaddingType(String name) { mName = name; } /** * Get the algorithm name of the enum value. * * @return The algorithm name */ public String getAlgorithmName() { return mName; } }