com.prowidesoftware.swift.model.mx.dic.KeyTransport5 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Key encryption key (KEK), encrypted with a previously distributed asymmetric public key.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "KeyTransport5", propOrder = {
"vrsn",
"rcptId",
"keyNcrptnAlgo",
"ncrptdKey"
})
public class KeyTransport5 {
@XmlElement(name = "Vrsn")
protected BigDecimal vrsn;
@XmlElement(name = "RcptId", required = true)
protected Recipient5Choice rcptId;
@XmlElement(name = "KeyNcrptnAlgo", required = true)
protected AlgorithmIdentification19 keyNcrptnAlgo;
@XmlElement(name = "NcrptdKey", required = true)
protected byte[] ncrptdKey;
/**
* Gets the value of the vrsn property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVrsn() {
return vrsn;
}
/**
* Sets the value of the vrsn property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public KeyTransport5 setVrsn(BigDecimal value) {
this.vrsn = value;
return this;
}
/**
* Gets the value of the rcptId property.
*
* @return
* possible object is
* {@link Recipient5Choice }
*
*/
public Recipient5Choice getRcptId() {
return rcptId;
}
/**
* Sets the value of the rcptId property.
*
* @param value
* allowed object is
* {@link Recipient5Choice }
*
*/
public KeyTransport5 setRcptId(Recipient5Choice value) {
this.rcptId = value;
return this;
}
/**
* Gets the value of the keyNcrptnAlgo property.
*
* @return
* possible object is
* {@link AlgorithmIdentification19 }
*
*/
public AlgorithmIdentification19 getKeyNcrptnAlgo() {
return keyNcrptnAlgo;
}
/**
* Sets the value of the keyNcrptnAlgo property.
*
* @param value
* allowed object is
* {@link AlgorithmIdentification19 }
*
*/
public KeyTransport5 setKeyNcrptnAlgo(AlgorithmIdentification19 value) {
this.keyNcrptnAlgo = value;
return this;
}
/**
* Gets the value of the ncrptdKey property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getNcrptdKey() {
return ncrptdKey;
}
/**
* Sets the value of the ncrptdKey property.
*
* @param value
* allowed object is
* byte[]
*/
public KeyTransport5 setNcrptdKey(byte[] value) {
this.ncrptdKey = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy