|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cms.CMSAuthenticatedData
public class CMSAuthenticatedData
containing class for an CMS Authenticated Data object
| Constructor Summary | |
|---|---|
CMSAuthenticatedData(byte[] authData)
|
|
CMSAuthenticatedData(byte[] authData,
org.bouncycastle.operator.DigestCalculatorProvider digestCalculatorProvider)
|
|
CMSAuthenticatedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo)
|
|
CMSAuthenticatedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo,
org.bouncycastle.operator.DigestCalculatorProvider digestCalculatorProvider)
|
|
CMSAuthenticatedData(java.io.InputStream authData)
|
|
CMSAuthenticatedData(java.io.InputStream authData,
org.bouncycastle.operator.DigestCalculatorProvider digestCalculatorProvider)
|
|
| Method Summary | |
|---|---|
org.bouncycastle.asn1.cms.AttributeTable |
getAuthAttrs()
return a table of the digested attributes indexed by the OID of the attribute. |
byte[] |
getContentDigest()
|
org.bouncycastle.asn1.cms.ContentInfo |
getContentInfo()
return the ContentInfo |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object. |
byte[] |
getMac()
|
java.lang.String |
getMacAlgOID()
return the object identifier for the content MAC algorithm. |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getMacAlgorithm()
Return the MAC algorithm details for the MAC associated with the data in this object. |
java.security.AlgorithmParameters |
getMacAlgorithmParameters(java.security.Provider provider)
Deprecated. use getMacAlgorithm and JceAlgorithmIdentifierConverter(). |
java.security.AlgorithmParameters |
getMacAlgorithmParameters(java.lang.String provider)
Deprecated. use getMacAlgorithm and JceAlgorithmIdentifierConverter(). |
byte[] |
getMacAlgParams()
return the ASN.1 encoded MAC algorithm parameters, or null if there aren't any. |
OriginatorInformation |
getOriginatorInfo()
Return the originator information associated with this message if present. |
RecipientInformationStore |
getRecipientInfos()
return a store of the intended recipients for this message |
org.bouncycastle.asn1.cms.AttributeTable |
getUnauthAttrs()
return a table of the undigested attributes indexed by the OID of the attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMSAuthenticatedData(byte[] authData)
throws CMSException
CMSException
public CMSAuthenticatedData(byte[] authData,
org.bouncycastle.operator.DigestCalculatorProvider digestCalculatorProvider)
throws CMSException
CMSException
public CMSAuthenticatedData(java.io.InputStream authData)
throws CMSException
CMSException
public CMSAuthenticatedData(java.io.InputStream authData,
org.bouncycastle.operator.DigestCalculatorProvider digestCalculatorProvider)
throws CMSException
CMSException
public CMSAuthenticatedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo)
throws CMSException
CMSException
public CMSAuthenticatedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo,
org.bouncycastle.operator.DigestCalculatorProvider digestCalculatorProvider)
throws CMSException
CMSException| Method Detail |
|---|
public OriginatorInformation getOriginatorInfo()
public byte[] getMac()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getMacAlgorithm()
public java.lang.String getMacAlgOID()
public byte[] getMacAlgParams()
public java.security.AlgorithmParameters getMacAlgorithmParameters(java.lang.String provider)
throws CMSException,
java.security.NoSuchProviderException
provider - the provider to generate the parameters for.
CMSException - if the algorithm cannot be found, or the parameters can't be parsed.
java.security.NoSuchProviderException - if the provider cannot be found.
public java.security.AlgorithmParameters getMacAlgorithmParameters(java.security.Provider provider)
throws CMSException
provider - the provider to generate the parameters for.
CMSException - if the algorithm cannot be found, or the parameters can't be parsed.public RecipientInformationStore getRecipientInfos()
public org.bouncycastle.asn1.cms.ContentInfo getContentInfo()
public org.bouncycastle.asn1.cms.AttributeTable getAuthAttrs()
public org.bouncycastle.asn1.cms.AttributeTable getUnauthAttrs()
public byte[] getEncoded()
throws java.io.IOException
java.io.IOExceptionpublic byte[] getContentDigest()
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||