public class EncContent
extends java.lang.Object
| Constructor and Description |
|---|
EncContent() |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1Encodable |
asASN1() |
static EncContent |
fromASN1(org.bouncycastle.asn1.DEREncodable content)
EncryptedContentInfo ::= SEQUENCE {
contentType ContentType,
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }
EncryptedContent ::= OCTET STRING
|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithm()
Get the
Algorithm value. |
CipherSpec |
getCipher()
Get the
Cipher value. |
int |
getContentType()
Get the
ContentType value. |
org.bouncycastle.asn1.ASN1OctetString |
getEncData()
Get the
EncData value. |
void |
setAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier newAlgorithm)
Set the
Algorithm value. |
void |
setCipher(CipherSpec newCipher)
Set the
Cipher value. |
void |
setContentType(int newContentType)
Set the
ContentType value. |
void |
setEncData(org.bouncycastle.asn1.ASN1OctetString newEncData)
Set the
EncData value. |
java.lang.String |
toString() |
public final int getContentType()
ContentType value.int valuepublic final void setContentType(int newContentType)
ContentType value.newContentType - The new ContentType value.public final CipherSpec getCipher()
Cipher value.Cipher valuepublic final void setCipher(CipherSpec newCipher)
Cipher value.newCipher - The new Cipher value.public final org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithm()
Algorithm value.AlgorithmIdentifier valuepublic final void setAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier newAlgorithm)
Algorithm value.newAlgorithm - The new Algorithm value.public final org.bouncycastle.asn1.ASN1OctetString getEncData()
EncData value.ASN1OctetString valuepublic final void setEncData(org.bouncycastle.asn1.ASN1OctetString newEncData)
EncData value.newEncData - The new EncData value.public java.lang.String toString()
toString in class java.lang.Objectpublic static EncContent fromASN1(org.bouncycastle.asn1.DEREncodable content)
public org.bouncycastle.asn1.ASN1Encodable asASN1()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.