public class KEK extends Object
Java class for KEK complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KEK">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="KEKIdentifier" type="{}KEKIdentifier"/>
<element name="KeyEncryptionAlgorithm" type="{}AlgorithmIdentifier"/>
</sequence>
<attribute name="Version" type="{}VersionType" default="v4" />
<attribute name="EncryptedKey" use="required" type="{}EncryptedKey" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
encryptedKey
The Encrypted key.
|
protected KEKIdentifier |
kekIdentifier
The Kek identifier.
|
protected AlgorithmIdentifier |
keyEncryptionAlgorithm
The Key encryption algorithm.
|
protected VersionType |
version
The Version.
|
| Constructor and Description |
|---|
KEK() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncryptedKey()
Gets the value of the encryptedKey property.
|
KEKIdentifier |
getKEKIdentifier()
Gets the value of the kekIdentifier property.
|
AlgorithmIdentifier |
getKeyEncryptionAlgorithm()
Gets the value of the keyEncryptionAlgorithm property.
|
VersionType |
getVersion()
Gets the value of the version property.
|
void |
setEncryptedKey(byte[] value)
Sets the value of the encryptedKey property.
|
void |
setKEKIdentifier(KEKIdentifier value)
Sets the value of the kekIdentifier property.
|
void |
setKeyEncryptionAlgorithm(AlgorithmIdentifier value)
Sets the value of the keyEncryptionAlgorithm property.
|
void |
setVersion(VersionType value)
Sets the value of the version property.
|
protected KEKIdentifier kekIdentifier
protected AlgorithmIdentifier keyEncryptionAlgorithm
protected VersionType version
protected byte[] encryptedKey
public KEKIdentifier getKEKIdentifier()
KEKIdentifierpublic void setKEKIdentifier(KEKIdentifier value)
value - allowed object is KEKIdentifierpublic AlgorithmIdentifier getKeyEncryptionAlgorithm()
AlgorithmIdentifierpublic void setKeyEncryptionAlgorithm(AlgorithmIdentifier value)
value - allowed object is AlgorithmIdentifierpublic VersionType getVersion()
VersionTypepublic void setVersion(VersionType value)
value - allowed object is VersionTypepublic byte[] getEncryptedKey()
public void setEncryptedKey(byte[] value)
value - allowed object is byte[]Copyright © 2022. All rights reserved.