|
Bouncy Castle Cryptography Library 1.46 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.crmf.EncryptedValue
public class EncryptedValue
| Field Summary |
|---|
| Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
|---|
BER, DER |
| Constructor Summary | |
|---|---|
EncryptedValue(AlgorithmIdentifier intendedAlg,
AlgorithmIdentifier symmAlg,
DERBitString encSymmKey,
AlgorithmIdentifier keyAlg,
ASN1OctetString valueHint,
DERBitString encValue)
|
|
| Method Summary | |
|---|---|
DERBitString |
getEncSymmKey()
|
DERBitString |
getEncValue()
|
static EncryptedValue |
getInstance(java.lang.Object o)
|
AlgorithmIdentifier |
getIntendedAlg()
|
AlgorithmIdentifier |
getKeyAlg()
|
AlgorithmIdentifier |
getSymmAlg()
|
ASN1OctetString |
getValueHint()
|
DERObject |
toASN1Object()
EncryptedValue ::= SEQUENCE { intendedAlg [0] AlgorithmIdentifier OPTIONAL, -- the intended algorithm for which the value will be used symmAlg [1] AlgorithmIdentifier OPTIONAL, -- the symmetric algorithm used to encrypt the value encSymmKey [2] BIT STRING OPTIONAL, -- the (encrypted) symmetric key used to encrypt the value keyAlg [3] AlgorithmIdentifier OPTIONAL, -- algorithm used to encrypt the symmetric key valueHint [4] OCTET STRING OPTIONAL, -- a brief description or identifier of the encValue content -- (may be meaningful only to the sending entity, and used only -- if EncryptedValue might be re-examined by the sending entity -- in the future) encValue BIT STRING } -- the encrypted value itself |
| Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
|---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptedValue(AlgorithmIdentifier intendedAlg,
AlgorithmIdentifier symmAlg,
DERBitString encSymmKey,
AlgorithmIdentifier keyAlg,
ASN1OctetString valueHint,
DERBitString encValue)
| Method Detail |
|---|
public static EncryptedValue getInstance(java.lang.Object o)
public AlgorithmIdentifier getIntendedAlg()
public AlgorithmIdentifier getSymmAlg()
public DERBitString getEncSymmKey()
public AlgorithmIdentifier getKeyAlg()
public ASN1OctetString getValueHint()
public DERBitString getEncValue()
public DERObject toASN1Object()
EncryptedValue ::= SEQUENCE {
intendedAlg [0] AlgorithmIdentifier OPTIONAL,
-- the intended algorithm for which the value will be used
symmAlg [1] AlgorithmIdentifier OPTIONAL,
-- the symmetric algorithm used to encrypt the value
encSymmKey [2] BIT STRING OPTIONAL,
-- the (encrypted) symmetric key used to encrypt the value
keyAlg [3] AlgorithmIdentifier OPTIONAL,
-- algorithm used to encrypt the symmetric key
valueHint [4] OCTET STRING OPTIONAL,
-- a brief description or identifier of the encValue content
-- (may be meaningful only to the sending entity, and used only
-- if EncryptedValue might be re-examined by the sending entity
-- in the future)
encValue BIT STRING }
-- the encrypted value itself
toASN1Object in class ASN1Encodable
|
Bouncy Castle Cryptography Library 1.46 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||