public class KeyTransport extends Object
Java class for KeyTransport complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KeyTransport">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="RecipientIdentifier" type="{}RecipientIdentifier"/>
<element name="KeyEncryptionAlgorithm" type="{}AlgorithmIdentifier"/>
</sequence>
<attribute name="Version" type="{}VersionType" default="v0" />
<attribute name="EncryptedKey" use="required" type="{}EncryptedKey" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
encryptedKey
The Encrypted key.
|
protected AlgorithmIdentifier |
keyEncryptionAlgorithm
The Key encryption algorithm.
|
protected RecipientIdentifier |
recipientIdentifier
The Recipient identifier.
|
protected VersionType |
version
The Version.
|
| Constructor and Description |
|---|
KeyTransport() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncryptedKey()
Gets the value of the encryptedKey property.
|
AlgorithmIdentifier |
getKeyEncryptionAlgorithm()
Gets the value of the keyEncryptionAlgorithm property.
|
RecipientIdentifier |
getRecipientIdentifier()
Gets the value of the recipientIdentifier property.
|
VersionType |
getVersion()
Gets the value of the version property.
|
void |
setEncryptedKey(byte[] value)
Sets the value of the encryptedKey property.
|
void |
setKeyEncryptionAlgorithm(AlgorithmIdentifier value)
Sets the value of the keyEncryptionAlgorithm property.
|
void |
setRecipientIdentifier(RecipientIdentifier value)
Sets the value of the recipientIdentifier property.
|
void |
setVersion(VersionType value)
Sets the value of the version property.
|
protected RecipientIdentifier recipientIdentifier
protected AlgorithmIdentifier keyEncryptionAlgorithm
protected VersionType version
protected byte[] encryptedKey
public RecipientIdentifier getRecipientIdentifier()
RecipientIdentifierpublic void setRecipientIdentifier(RecipientIdentifier value)
value - allowed object is RecipientIdentifierpublic 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.