Enum AlgorithmType

  • All Implemented Interfaces:
    Serializable, Comparable<AlgorithmType>

    public enum AlgorithmType
    extends Enum<AlgorithmType>

    Java class for AlgorithmType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="AlgorithmType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="id-retail-cbc-mac"/>
         <enumeration value="id-retail-cbc-mac-sha-256"/>
         <enumeration value="id-ukpt-wrap "/>
         <enumeration value="id-dukpt-wrap"/>
         <enumeration value="des-ede3-ecb"/>
         <enumeration value="des-ede3-cbc"/>
         <enumeration value="id-sha256"/>
         <enumeration value="sha256WithRSAEncryption"/>
         <enumeration value="rsaEncryption"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • ID_RETAIL_CBC_MAC

        public static final AlgorithmType ID_RETAIL_CBC_MAC
        Retail CBC-MAC (cf. ISO 9807, ANSI X9.19) - (OID: iso(1) member-body(2) fr(250) type-org (1) gie-cb(79) algorithm(10) epas(1) 2)
      • ID_RETAIL_CBC_MAC_SHA_256

        public static final AlgorithmType ID_RETAIL_CBC_MAC_SHA_256
        Retail-CBC-MAC with SHA-256 - (OID: iso(1) member-body(2) fr(250) type-org (1) gie-cb(79) algorithm(10) epas(1) 3)
      • ID_UKPT_WRAP

        public static final AlgorithmType ID_UKPT_WRAP
        The UKPT or Master Session Key key encryption - (OID: iso(1) member-body(2) fr(250) type-org (1) gie-cb(79) algorithm(10) epas(1) 4)
      • ID_DUKPT_WRAP

        public static final AlgorithmType ID_DUKPT_WRAP
        DUKPT is specified in ANS X9.24-2004, Annex A, and ISO/DIS 13492-2006. - (OID: iso(1) member-body(2) fr(250) type-org (1) gie-cb(79) algorithm(10) epas(1) 1)
      • DES_EDE_3_ECB

        public static final AlgorithmType DES_EDE_3_ECB
        Triple DES ECB encryption with double length key (112 Bit) as defined in FIPS PUB 46-3 - (OID: iso(1) member-body(2) fr(250) type-org (1) gie-cb(79)
      • DES_EDE_3_CBC

        public static final AlgorithmType DES_EDE_3_CBC
        Triple DES CBC encryption with double length key (112 Bit) as defined in FIPS PUB 46-3 - (OID: iso(1) member-body(2) us(840) rsadsi(113549)
      • ID_SHA_256

        public static final AlgorithmType ID_SHA_256
        Message Digest Algorithm SHA-256 as defined in FIPS 180-1 and 2 - (ISO20022 Label: SHA256)
      • SHA_256_WITH_RSA_ENCRYPTION

        public static final AlgorithmType SHA_256_WITH_RSA_ENCRYPTION
        Signature Algorithms SHA-256 with RSA - (OID: iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 11)
      • RSA_ENCRYPTION

        public static final AlgorithmType RSA_ENCRYPTION
        Key Transport Algorithm RSA - (OID: iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 1)
    • Method Detail

      • values

        public static AlgorithmType[] 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 (AlgorithmType c : AlgorithmType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AlgorithmType 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
      • value

        public String value()
        Value string.
        Returns:
        the string
      • fromValue

        public static AlgorithmType fromValue​(String v)
        From value algorithm type.
        Parameters:
        v - the v
        Returns:
        the algorithm type