public class EncryptedValue
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
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
Constructor and Description |
---|
EncryptedValue(org.bouncycastle.asn1.ASN1Sequence seq) |
EncryptedValue(org.bouncycastle.asn1.DERBitString encValue) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.DERBitString |
getEncSymmKey() |
org.bouncycastle.asn1.DERBitString |
getEncValue() |
static EncryptedValue |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
boolean explicit) |
static EncryptedValue |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getIntendedAlg() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKeyAlg() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getSymmAlg() |
org.bouncycastle.asn1.DEROctetString |
getValueHint() |
void |
setEncSymmKey(org.bouncycastle.asn1.DERBitString encSymmKey) |
void |
setIntendedAlg(org.bouncycastle.asn1.x509.AlgorithmIdentifier intendedAlg) |
void |
setKeyAlg(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAlg) |
void |
setSymmAlg(org.bouncycastle.asn1.x509.AlgorithmIdentifier symmAlg) |
void |
setValueHint(org.bouncycastle.asn1.DEROctetString valueHint) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
java.lang.String |
toString() |
public EncryptedValue(org.bouncycastle.asn1.ASN1Sequence seq)
public EncryptedValue(org.bouncycastle.asn1.DERBitString encValue)
public static EncryptedValue getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
public static EncryptedValue getInstance(java.lang.Object obj)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getIntendedAlg()
public void setIntendedAlg(org.bouncycastle.asn1.x509.AlgorithmIdentifier intendedAlg)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSymmAlg()
public void setSymmAlg(org.bouncycastle.asn1.x509.AlgorithmIdentifier symmAlg)
public org.bouncycastle.asn1.DERBitString getEncSymmKey()
public void setEncSymmKey(org.bouncycastle.asn1.DERBitString encSymmKey)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyAlg()
public void setKeyAlg(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAlg)
public org.bouncycastle.asn1.DEROctetString getValueHint()
public void setValueHint(org.bouncycastle.asn1.DEROctetString valueHint)
public org.bouncycastle.asn1.DERBitString getEncValue()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Agencia de Tecnología y Certificación Electrónica. All Rights Reserved.