kz.gamma.asn1.crmf
Class EncryptedValue
java.lang.Object
kz.gamma.asn1.ASN1Encodable
kz.gamma.asn1.crmf.EncryptedValue
- All Implemented Interfaces:
- kz.gamma.asn1.DEREncodable
public class EncryptedValue
- extends kz.gamma.asn1.ASN1Encodable
|
Field Summary |
private kz.gamma.asn1.DERBitString |
encSymmKey
|
private kz.gamma.asn1.DERBitString |
encValue
|
private kz.gamma.asn1.x509.AlgorithmIdentifier |
intendedAlg
|
private kz.gamma.asn1.x509.AlgorithmIdentifier |
keyAlg
|
private kz.gamma.asn1.x509.AlgorithmIdentifier |
symmAlg
|
private kz.gamma.asn1.ASN1OctetString |
valueHint
|
| Fields inherited from class kz.gamma.asn1.ASN1Encodable |
BER, DER |
|
Constructor Summary |
private |
EncryptedValue(kz.gamma.asn1.ASN1Sequence seq)
|
|
Method Summary |
private void |
addOptional(kz.gamma.asn1.ASN1EncodableVector v,
int tagNo,
kz.gamma.asn1.ASN1Encodable obj)
|
static EncryptedValue |
getInstance(java.lang.Object o)
|
kz.gamma.asn1.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 kz.gamma.asn1.ASN1Encodable |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
intendedAlg
private kz.gamma.asn1.x509.AlgorithmIdentifier intendedAlg
symmAlg
private kz.gamma.asn1.x509.AlgorithmIdentifier symmAlg
encSymmKey
private kz.gamma.asn1.DERBitString encSymmKey
keyAlg
private kz.gamma.asn1.x509.AlgorithmIdentifier keyAlg
valueHint
private kz.gamma.asn1.ASN1OctetString valueHint
encValue
private kz.gamma.asn1.DERBitString encValue
EncryptedValue
private EncryptedValue(kz.gamma.asn1.ASN1Sequence seq)
getInstance
public static EncryptedValue getInstance(java.lang.Object o)
toASN1Object
public kz.gamma.asn1.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
- Specified by:
toASN1Object in class kz.gamma.asn1.ASN1Encodable
- Returns:
- a basic ASN.1 object representation.
addOptional
private void addOptional(kz.gamma.asn1.ASN1EncodableVector v,
int tagNo,
kz.gamma.asn1.ASN1Encodable obj)
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.