public class EncryptedValue
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
EncryptedValue(org.bouncycastle.asn1.x509.AlgorithmIdentifier intendedAlg,
org.bouncycastle.asn1.x509.AlgorithmIdentifier symmAlg,
org.bouncycastle.asn1.ASN1BitString encSymmKey,
org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAlg,
org.bouncycastle.asn1.ASN1OctetString valueHint,
org.bouncycastle.asn1.ASN1BitString encValue) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1BitString |
getEncSymmKey() |
org.bouncycastle.asn1.ASN1BitString |
getEncValue() |
static EncryptedValue |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getIntendedAlg() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKeyAlg() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getSymmAlg() |
org.bouncycastle.asn1.ASN1OctetString |
getValueHint() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
(IMPLICIT TAGS)
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
|
public EncryptedValue(org.bouncycastle.asn1.x509.AlgorithmIdentifier intendedAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier symmAlg, org.bouncycastle.asn1.ASN1BitString encSymmKey, org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAlg, org.bouncycastle.asn1.ASN1OctetString valueHint, org.bouncycastle.asn1.ASN1BitString encValue)
public static EncryptedValue getInstance(java.lang.Object o)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getIntendedAlg()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSymmAlg()
public org.bouncycastle.asn1.ASN1BitString getEncSymmKey()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyAlg()
public org.bouncycastle.asn1.ASN1OctetString getValueHint()
public org.bouncycastle.asn1.ASN1BitString getEncValue()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
(IMPLICIT TAGS) 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
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object