Enum MosipSecurityMethod

    • Enum Constant Detail

      • HYBRID_RSA_AES_WITH_OAEP_WITH_MD5_AND_MGF1PADDING

        public static final MosipSecurityMethod HYBRID_RSA_AES_WITH_OAEP_WITH_MD5_AND_MGF1PADDING
        Hybrid RSA cryptosystem and AES_WITH_CBC_AND_PKCS7PADDING security method with OEAP(with MD5) Padding
      • HYBRID_RSA_AES_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING

        public static final MosipSecurityMethod HYBRID_RSA_AES_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING
        Hybrid RSA cryptosystem and AES_WITH_CBC_AND_PKCS7PADDING security method with OEAP(with SHA3 512) Padding
      • AES_WITH_CBC_AND_PKCS7PADDING

        public static final MosipSecurityMethod AES_WITH_CBC_AND_PKCS7PADDING
        Advanced Encryption Standard symmetric-key block cipher security method with PKCS7 Padding
      • DES_WITH_CBC_AND_PKCS7PADDING

        public static final MosipSecurityMethod DES_WITH_CBC_AND_PKCS7PADDING
        Data Encryption Standard symmetric-key block cipher security method with PKCS7 Padding
      • TWOFISH_WITH_CBC_AND_PKCS7PADDING

        public static final MosipSecurityMethod TWOFISH_WITH_CBC_AND_PKCS7PADDING
        TWOFISH symmetric-key block cipher security method with PKCS7 Padding
      • RSA_WITH_PKCS1PADDING

        public static final MosipSecurityMethod RSA_WITH_PKCS1PADDING
        RSA cryptosystem security method with PKCS1 Padding
      • RSA_WITH_OAEP_WITH_MD5_AND_MGF1PADDING

        public static final MosipSecurityMethod RSA_WITH_OAEP_WITH_MD5_AND_MGF1PADDING
        RSA cryptosystem security method with OEAP(with MD5) Padding
      • RSA_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING

        public static final MosipSecurityMethod RSA_WITH_OAEP_WITH_SHA3512_AND_MGF1PADDING
        RSA cryptosystem security method with OEAP(with SHA3 512) Padding
    • Method Detail

      • values

        public static MosipSecurityMethod[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MosipSecurityMethod c : MosipSecurityMethod.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MosipSecurityMethod valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null