com.prowidesoftware.swift.model.mx.dic.Algorithm2Code Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for Algorithm2Code.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "Algorithm2Code")
@XmlEnum
public enum Algorithm2Code {
/**
* AES (Advanced Encryption Standard) CBC (Chaining Block Cypher) encryption with a 128 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).
*
*/
@XmlEnumValue("EA2C")
EA_2_C("EA2C"),
/**
* Triple DES (Data Encryption Standard) CBC (Chaining Block Cypher) encryption with double length key (112 Bit) as defined in FIPS PUB 46-3 - (ASN.1 Object Identifier: des-ede3-cbc).
*
*/
@XmlEnumValue("E3DC")
E_3_DC("E3DC"),
/**
* DUKPT (Derived Unique Key Per Transaction) algorithm, as specified in ANSI X9.24-2004, Annex A, and ISO/DIS 13492-2006. - (ASN.1 Object Identifier: id-dukpt-wrap).
*
*/
DKPT("DKPT"),
/**
* DUKPT (Derived Unique Key Per Transaction) algorithm, as specified in ANSI X9.24-2009 Annex A.
*
*/
@XmlEnumValue("DKP9")
DKP_9("DKP9"),
/**
* UKPT (Unique Key Per Transaction) or Master Session Key key encryption - (ASN.1 Object Identifier: id-ukpt-wrap).
*
*/
UKPT("UKPT"),
/**
* UKPT (Unique Key Per Transaction) or Master Session Key key encryption, using Advanced Encryption Standard with a 128 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).
*
*/
@XmlEnumValue("UKA1")
UKA_1("UKA1");
private final String value;
Algorithm2Code(String v) {
value = v;
}
public String value() {
return value;
}
public static Algorithm2Code fromValue(String v) {
for (Algorithm2Code c: Algorithm2Code.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy