Modifier and Type | Method and Description |
---|---|
PKIArchiveControl |
PKIArchiveControlBuilder.build(OutputEncryptor contentEncryptor)
Build the PKIArchiveControl using the passed in encryptor to encrypt its contents.
|
Modifier and Type | Class and Description |
---|---|
class |
CMSSignerDigestMismatchException |
class |
CMSVerifierCertificateNotValidException |
Modifier and Type | Method and Description |
---|---|
void |
CMSSignedGenerator.addAttributeCertificates(Store attrStore) |
void |
CMSSignedGenerator.addAttributeCertificates(X509Store store)
Deprecated.
use basic Store method
|
void |
CMSSignedGenerator.addCertificates(Store certStore) |
void |
CMSSignedGenerator.addCertificatesAndCRLs(CertStore certStore)
Deprecated.
use addCertificates and addCRLs
|
void |
CMSSignedGenerator.addCRLs(Store crlStore) |
SignerInfo |
SignerInfoGenerator.generate(ASN1ObjectIdentifier contentType) |
CMSSignedData |
CMSSignedDataGenerator.generate(CMSProcessable content,
boolean encapsulate,
Provider sigProvider)
Deprecated.
use generate(CMSTypedData, boolean)
|
CMSSignedData |
CMSSignedDataGenerator.generate(CMSProcessable content,
boolean encapsulate,
String sigProvider)
Deprecated.
use generate(CMSTypedData, boolean)
|
CMSSignedData |
CMSSignedDataGenerator.generate(CMSProcessable content,
Provider sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider.
|
CMSSignedData |
CMSSignedDataGenerator.generate(CMSProcessable content,
String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider.
|
CMSCompressedData |
CMSCompressedDataGenerator.generate(CMSProcessable content,
String compressionOID)
Deprecated.
use generate(CMSTypedData, OutputCompressor)
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
String encryptionOID,
int keySize,
Provider provider)
Deprecated.
use OutputEncryptor method.
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
String encryptionOID,
int keySize,
String provider)
Deprecated.
use OutputEncryptor method.
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
String encryptionOID,
Provider provider)
Deprecated.
use OutputEncryptor method.
|
CMSAuthenticatedData |
CMSAuthenticatedDataGenerator.generate(CMSProcessable content,
String encryptionOID,
Provider provider)
Deprecated.
use addRecipientInfoGenerator method..
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
String encryptionOID,
String provider)
Deprecated.
use OutputEncryptor method.
|
CMSAuthenticatedData |
CMSAuthenticatedDataGenerator.generate(CMSProcessable content,
String macOID,
String provider)
Deprecated.
use addRecipientInfoGenerator method.
|
CMSSignedData |
CMSSignedDataGenerator.generate(CMSTypedData content) |
CMSSignedData |
CMSSignedDataGenerator.generate(CMSTypedData content,
boolean encapsulate) |
CMSAuthenticatedData |
CMSAuthenticatedDataGenerator.generate(CMSTypedData typedData,
MacCalculator macCalculator)
Generate an authenticated data object from the passed in typedData and MacCalculator.
|
CMSAuthenticatedData |
CMSAuthenticatedDataGenerator.generate(CMSTypedData typedData,
MacCalculator macCalculator,
DigestCalculator digestCalculator)
Generate an authenticated data object from the passed in typedData and MacCalculator.
|
CMSCompressedData |
CMSCompressedDataGenerator.generate(CMSTypedData content,
OutputCompressor compressor)
generate an object that contains an CMS Compressed Data
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSTypedData content,
OutputEncryptor contentEncryptor)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider.
|
RecipientInfo |
RecipientInfoGenerator.generate(GenericKey contentEncryptionKey) |
RecipientInfo |
PasswordRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) |
RecipientInfo |
KeyTransRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) |
RecipientInfo |
KeyAgreeRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) |
RecipientInfo |
KEKRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) |
CMSSignedData |
CMSSignedDataGenerator.generate(String eContentType,
CMSProcessable content,
boolean encapsulate,
Provider sigProvider)
Deprecated.
use generate(CMSTypedData, boolean)
|
CMSSignedData |
CMSSignedDataGenerator.generate(String eContentType,
CMSProcessable content,
boolean encapsulate,
Provider sigProvider,
boolean addDefaultAttributes)
Similar method to the other generate methods.
|
CMSSignedData |
CMSSignedDataGenerator.generate(String eContentType,
CMSProcessable content,
boolean encapsulate,
String sigProvider)
Deprecated.
use generate(CMSTypedData, boolean)
|
CMSSignedData |
CMSSignedDataGenerator.generate(String eContentType,
CMSProcessable content,
boolean encapsulate,
String sigProvider,
boolean addDefaultAttributes)
Deprecated.
use generate(CMSTypedData, boolean)
|
SignerInformationStore |
CMSSignedDataGenerator.generateCounterSigners(SignerInformation signer)
generate a set of one or more SignerInformation objects representing counter signatures on
the passed in SignerInformation object.
|
SignerInformationStore |
CMSSignedDataGenerator.generateCounterSigners(SignerInformation signer,
Provider sigProvider)
Deprecated.
use generateCounterSigners(SignerInformation)
|
SignerInformationStore |
CMSSignedDataGenerator.generateCounterSigners(SignerInformation signer,
String sigProvider)
Deprecated.
use generateCounterSigners(SignerInformation)
|
protected abstract byte[] |
PasswordRecipientInfoGenerator.generateEncryptedBytes(AlgorithmIdentifier algorithm,
byte[] derivedKey,
GenericKey contentEncryptionKey) |
protected AlgorithmParameters |
CMSEnvelopedGenerator.generateParameters(String encryptionOID,
SecretKey encKey,
Provider encProvider) |
protected AlgorithmParameterSpec |
CMSAuthenticatedGenerator.generateParameterSpec(String encryptionOID,
SecretKey encKey,
Provider encProvider) |
protected abstract ASN1Sequence |
KeyAgreeRecipientInfoGenerator.generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm,
AlgorithmIdentifier keyEncAlgorithm,
GenericKey contentEncryptionKey) |
Store |
CMSSignedDataParser.getAttributeCertificates() |
X509Store |
CMSSignedDataParser.getAttributeCertificates(String type,
Provider provider)
return a X509Store containing the attribute certificates, if any, contained
in this message.
|
X509Store |
CMSSignedData.getAttributeCertificates(String type,
Provider provider)
Deprecated.
use base Store returning method
|
X509Store |
CMSSignedDataParser.getAttributeCertificates(String type,
String provider)
return a X509Store containing the attribute certificates, if any, contained
in this message.
|
X509Store |
CMSSignedData.getAttributeCertificates(String type,
String provider)
Deprecated.
use base Store returning method
|
Store |
CMSSignedDataParser.getCertificates() |
X509Store |
CMSSignedDataParser.getCertificates(String type,
Provider provider)
Deprecated.
use getCertificates()
|
X509Store |
CMSSignedData.getCertificates(String type,
Provider provider)
Deprecated.
use base Store returning method
|
X509Store |
CMSSignedDataParser.getCertificates(String type,
String provider)
Deprecated.
use getCertificates()
|
X509Store |
CMSSignedData.getCertificates(String type,
String provider)
Deprecated.
use base Store returning method
|
CertStore |
CMSSignedDataParser.getCertificatesAndCRLs(String type,
Provider provider)
Deprecated.
use getCertificates()
|
CertStore |
CMSSignedData.getCertificatesAndCRLs(String type,
Provider provider)
Deprecated.
use base Store returning method
|
CertStore |
CMSSignedDataParser.getCertificatesAndCRLs(String type,
String provider)
Deprecated.
use getCertificates()
|
CertStore |
CMSSignedData.getCertificatesAndCRLs(String type,
String provider)
Deprecated.
use base Store returning method
|
CMSTypedStream |
CMSCompressedDataParser.getContent()
Deprecated.
use getContent(InputExpandedProvider)
|
byte[] |
CMSCompressedData.getContent()
Deprecated.
use getContent(InputExpanderProvider)
|
CMSTypedStream |
CMSCompressedDataParser.getContent(InputExpanderProvider expanderProvider)
Return a typed stream which will allow the reading of the compressed content in
expanded form.
|
byte[] |
CMSCompressedData.getContent(InputExpanderProvider expanderProvider)
Return the uncompressed content.
|
byte[] |
CMSCompressedData.getContent(int limit)
Deprecated.
use getContent(InputExpanderProvider)
|
byte[] |
RecipientInformation.getContent(Key key,
Provider provider)
Deprecated.
use getContent(Recipient)
|
byte[] |
RecipientInformation.getContent(Key key,
String provider)
Deprecated.
use getContent(Recipient)
|
byte[] |
RecipientInformation.getContent(Recipient recipient)
Return the decrypted/encapsulated content in the EnvelopedData after recovering the content
encryption/MAC key using the passed in Recipient.
|
protected CMSTypedStream |
RecipientInformation.getContentFromSessionKey(Key sKey,
Provider provider) |
abstract CMSTypedStream |
RecipientInformation.getContentStream(Key key,
Provider provider)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
PasswordRecipientInformation.getContentStream(Key key,
Provider prov)
Deprecated.
use getContentStream(Recipient)
|
CMSTypedStream |
KeyTransRecipientInformation.getContentStream(Key key,
Provider prov)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
KeyAgreeRecipientInformation.getContentStream(Key key,
Provider prov)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
KEKRecipientInformation.getContentStream(Key key,
Provider prov)
decrypt the content and return an input stream.
|
CMSTypedStream |
RecipientInformation.getContentStream(Key key,
String provider)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
PasswordRecipientInformation.getContentStream(Key key,
String prov)
Deprecated.
use getContentStream(Recipient)
|
CMSTypedStream |
KeyTransRecipientInformation.getContentStream(Key key,
String prov)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
KeyAgreeRecipientInformation.getContentStream(Key key,
String prov)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
KEKRecipientInformation.getContentStream(Key key,
String prov)
decrypt the content and return an input stream.
|
CMSTypedStream |
RecipientInformation.getContentStream(Recipient recipient)
Return a CMSTypedStream representing the content in the EnvelopedData after recovering the content
encryption/MAC key using the passed in Recipient.
|
Store |
CMSSignedDataParser.getCRLs() |
X509Store |
CMSSignedDataParser.getCRLs(String type,
Provider provider)
Deprecated.
use getCRLs()
|
X509Store |
CMSSignedData.getCRLs(String type,
Provider provider)
Deprecated.
use base Store returning method
|
X509Store |
CMSSignedDataParser.getCRLs(String type,
String provider)
Deprecated.
use getCRLs()
|
X509Store |
CMSSignedData.getCRLs(String type,
String provider)
Deprecated.
use base Store returning method
|
AlgorithmParameters |
CMSEnvelopedDataParser.getEncryptionAlgorithmParameters(Provider provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
AlgorithmParameters |
CMSEnvelopedData.getEncryptionAlgorithmParameters(Provider provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
AlgorithmParameters |
CMSEnvelopedDataParser.getEncryptionAlgorithmParameters(String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
AlgorithmParameters |
CMSEnvelopedData.getEncryptionAlgorithmParameters(String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
InputStream |
CMSProcessableFile.getInputStream() |
AlgorithmParameters |
RecipientInformation.getKeyEncryptionAlgorithmParameters(Provider provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the key this recipient holds.
|
AlgorithmParameters |
RecipientInformation.getKeyEncryptionAlgorithmParameters(String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the key this recipient holds.
|
AlgorithmParameters |
CMSAuthenticatedDataParser.getMacAlgorithmParameters(Provider provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
AlgorithmParameters |
CMSAuthenticatedData.getMacAlgorithmParameters(Provider provider)
Return an AlgorithmParameters object giving the MAC parameters
used to digest the message content.
|
AlgorithmParameters |
CMSAuthenticatedDataParser.getMacAlgorithmParameters(String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
AlgorithmParameters |
CMSAuthenticatedData.getMacAlgorithmParameters(String provider)
Return an AlgorithmParameters object giving the MAC parameters
used to digest the message content.
|
RecipientOperator |
KeyTransRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] encryptedContentKey) |
RecipientOperator |
KEKRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] encryptedContentKey) |
RecipientOperator |
PasswordRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedEncryptedContentKey) |
RecipientOperator |
KeyAgreeRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg,
AlgorithmIdentifier contentEncryptionAlgorithm,
SubjectPublicKeyInfo senderPublicKey,
ASN1OctetString userKeyingMaterial,
byte[] encryptedContentKey) |
protected abstract RecipientOperator |
RecipientInformation.getRecipientOperator(Recipient recipient) |
protected RecipientOperator |
PasswordRecipientInformation.getRecipientOperator(Recipient recipient) |
protected RecipientOperator |
KeyTransRecipientInformation.getRecipientOperator(Recipient recipient) |
protected RecipientOperator |
KeyAgreeRecipientInformation.getRecipientOperator(Recipient recipient) |
protected RecipientOperator |
KEKRecipientInformation.getRecipientOperator(Recipient recipient) |
protected Key |
KeyTransRecipientInformation.getSessionKey(Key receiverPrivateKey,
Provider prov)
Deprecated.
|
protected Key |
KeyAgreeRecipientInformation.getSessionKey(Key receiverPrivateKey,
Provider prov) |
SignerInformationStore |
CMSSignedDataParser.getSignerInfos()
return the collection of signers that are associated with the
signatures for the message.
|
protected abstract ASN1Encodable |
KeyAgreeRecipientInfoGenerator.getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlgorithm) |
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(ASN1ObjectIdentifier dataType,
OutputStream out,
MacCalculator macCalculator)
generate an authenticated data structure with the encapsulated bytes marked as type dataType.
|
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(ASN1ObjectIdentifier dataType,
OutputStream out,
MacCalculator macCalculator,
DigestCalculator digestCalculator)
generate an authenticated data structure with the encapsulated bytes marked as type dataType.
|
OutputStream |
CMSEnvelopedDataStreamGenerator.open(ASN1ObjectIdentifier dataType,
OutputStream out,
OutputEncryptor encryptor)
generate an enveloped object that contains an CMS Enveloped Data
object using the given encryptor and marking the data as being of the passed
in type.
|
protected OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
ASN1EncodableVector recipientInfos,
OutputEncryptor encryptor) |
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
MacCalculator macCalculator)
generate an authenticated data structure with the encapsulated bytes marked as DATA.
|
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
MacCalculator macCalculator,
DigestCalculator digestCalculator) |
OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
OutputEncryptor encryptor)
generate an enveloped object that contains an CMS Enveloped Data
object using the given encryptor.
|
OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
int keySize,
Provider provider)
Deprecated.
|
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
int keySize,
Provider provider)
Deprecated.
use open(out, MacCalculator)
|
OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
int keySize,
String provider)
Deprecated.
|
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
int keySize,
String provider)
Deprecated.
use open(out, MacCalculator)
|
OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
Provider provider)
Deprecated.
|
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
Provider provider)
Deprecated.
use open(out, MacCalculator)
|
protected OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
SecretKey encKey,
AlgorithmParameters params,
ASN1EncodableVector recipientInfos,
Provider provider) |
protected OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
SecretKey encKey,
AlgorithmParameters params,
ASN1EncodableVector recipientInfos,
String provider) |
protected OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
String macOID,
SecretKey encKey,
AlgorithmParameterSpec params,
ASN1EncodableVector recipientInfos,
Provider provider)
Deprecated.
|
protected OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
String macOID,
SecretKey encKey,
AlgorithmParameterSpec params,
ASN1EncodableVector recipientInfos,
String provider) |
OutputStream |
CMSEnvelopedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
String provider)
Deprecated.
|
OutputStream |
CMSAuthenticatedDataStreamGenerator.open(OutputStream out,
String encryptionOID,
String provider)
Deprecated.
use open(out, MacCalculator)
|
static CMSSignedData |
CMSSignedData.replaceCertificatesAndCRLs(CMSSignedData signedData,
CertStore certsAndCrls)
Replace the certificate and CRL information associated with this
CMSSignedData object with the new one passed in.
|
static CMSSignedData |
CMSSignedData.replaceCertificatesAndCRLs(CMSSignedData signedData,
Store certificates,
Store attrCerts,
Store crls)
Replace the certificate and CRL information associated with this
CMSSignedData object with the new one passed in.
|
static OutputStream |
CMSSignedDataParser.replaceCertificatesAndCRLs(InputStream original,
CertStore certsAndCrls,
OutputStream out)
Deprecated.
use method that takes Store objects.
|
static OutputStream |
CMSSignedDataParser.replaceCertificatesAndCRLs(InputStream original,
Store certs,
Store crls,
Store attrCerts,
OutputStream out)
Replace the certificate and CRL information associated with this
CMSSignedData object with the new one passed in.
|
static OutputStream |
CMSSignedDataParser.replaceSigners(InputStream original,
SignerInformationStore signerInformationStore,
OutputStream out)
Replace the signerinformation store associated with the passed
in message contained in the stream original with the new one passed in.
|
boolean |
SignerInformation.verify(PublicKey key,
Provider sigProvider)
Deprecated.
use verify(ContentVerifierProvider)
|
boolean |
SignerInformation.verify(PublicKey key,
String sigProvider)
Deprecated.
use verify(ContentVerifierProvider)
|
boolean |
SignerInformation.verify(SignerInformationVerifier verifier)
Verify that the given verifier can successfully verify the signature on
this SignerInformation object.
|
boolean |
SignerInformation.verify(X509Certificate cert,
Provider sigProvider)
Deprecated.
use verify(ContentVerifierProvider)
|
boolean |
SignerInformation.verify(X509Certificate cert,
String sigProvider)
Deprecated.
use verify(ContentVerifierProvider)
|
void |
CMSProcessableFile.write(OutputStream zOut) |
void |
CMSProcessableByteArray.write(OutputStream zOut) |
void |
CMSProcessable.write(OutputStream out)
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
|
void |
CMSAbsentContent.write(OutputStream zOut) |
Constructor and Description |
---|
CMSAuthenticatedData(byte[] authData) |
CMSAuthenticatedData(byte[] authData,
DigestCalculatorProvider digestCalculatorProvider) |
CMSAuthenticatedData(ContentInfo contentInfo) |
CMSAuthenticatedData(ContentInfo contentInfo,
DigestCalculatorProvider digestCalculatorProvider) |
CMSAuthenticatedData(InputStream authData) |
CMSAuthenticatedData(InputStream authData,
DigestCalculatorProvider digestCalculatorProvider) |
CMSAuthenticatedDataParser(byte[] envelopedData) |
CMSAuthenticatedDataParser(byte[] envelopedData,
DigestCalculatorProvider digestCalculatorProvider) |
CMSAuthenticatedDataParser(InputStream envelopedData) |
CMSAuthenticatedDataParser(InputStream envelopedData,
DigestCalculatorProvider digestCalculatorProvider) |
CMSCompressedData(byte[] compressedData) |
CMSCompressedData(ContentInfo contentInfo) |
CMSCompressedData(InputStream compressedData) |
CMSCompressedDataParser(byte[] compressedData) |
CMSCompressedDataParser(InputStream compressedData) |
CMSContentInfoParser(InputStream data) |
CMSEnvelopedData(byte[] envelopedData) |
CMSEnvelopedData(InputStream envelopedData) |
CMSEnvelopedDataParser(byte[] envelopedData) |
CMSEnvelopedDataParser(InputStream envelopedData) |
CMSSignedData(byte[] sigBlock) |
CMSSignedData(CMSProcessable signedContent,
byte[] sigBlock) |
CMSSignedData(CMSProcessable signedContent,
InputStream sigData)
base constructor - content with detached signature.
|
CMSSignedData(InputStream sigData)
base constructor - with encapsulated content
|
CMSSignedData(Map hashes,
byte[] sigBlock)
Content with detached signature, digests precomputed
|
CMSSignedDataParser(byte[] sigBlock) |
CMSSignedDataParser(CMSTypedStream signedContent,
byte[] sigBlock) |
CMSSignedDataParser(CMSTypedStream signedContent,
InputStream sigData)
base constructor
|
CMSSignedDataParser(InputStream sigData)
base constructor - with encapsulated content
|
Modifier and Type | Method and Description |
---|---|
MacCalculator |
JceCMSMacCalculatorBuilder.build() |
OutputEncryptor |
JceCMSContentEncryptorBuilder.build() |
protected Key |
JceKeyTransRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier encryptedKeyAlgorithm,
byte[] encryptedEncryptionKey) |
protected Key |
JceKEKRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] encryptedContentEncryptionKey) |
protected Key |
JcePasswordRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey) |
protected Key |
JceKeyAgreeRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
SubjectPublicKeyInfo senderKey,
ASN1OctetString userKeyingMaterial,
byte[] encryptedContentEncryptionKey) |
byte[] |
JcePasswordRecipientInfoGenerator.generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm,
byte[] derivedKey,
GenericKey contentEncryptionKey) |
ASN1Sequence |
JceKeyAgreeRecipientInfoGenerator.generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm,
AlgorithmIdentifier keyEncryptionAlgorithm,
GenericKey contentEncryptionKey) |
RecipientOperator |
JceKeyTransEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] encryptedContentEncryptionKey) |
RecipientOperator |
JceKeyTransAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentMacAlgorithm,
byte[] encryptedContentEncryptionKey) |
RecipientOperator |
JceKEKEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] encryptedContentEncryptionKey) |
RecipientOperator |
JceKEKAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentMacAlgorithm,
byte[] encryptedContentEncryptionKey) |
RecipientOperator |
JcePasswordEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey) |
RecipientOperator |
JcePasswordAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentMacAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey) |
RecipientOperator |
JceKeyAgreeEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
SubjectPublicKeyInfo senderPublicKey,
ASN1OctetString userKeyingMaterial,
byte[] encryptedContentKey) |
RecipientOperator |
JceKeyAgreeAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentMacAlgorithm,
SubjectPublicKeyInfo senderPublicKey,
ASN1OctetString userKeyingMaterial,
byte[] encryptedContentKey) |
protected ASN1Encodable |
JceKeyAgreeRecipientInfoGenerator.getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlg) |
Constructor and Description |
---|
JceKeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID,
PrivateKey senderPrivateKey,
PublicKey senderPublicKey,
ASN1ObjectIdentifier keyEncryptionOID) |
Modifier and Type | Method and Description |
---|---|
void |
SMIMESignedGenerator.addAttributeCertificates(X509Store store)
Deprecated.
use addAttributeCertificates(Store)
|
void |
CMSProcessableBodyPartOutbound.write(OutputStream out) |
void |
CMSProcessableBodyPartInbound.write(OutputStream out) |
void |
CMSProcessableBodyPart.write(OutputStream out) |
Constructor and Description |
---|
SMIMECompressed(javax.mail.internet.MimeBodyPart message) |
SMIMECompressed(javax.mail.internet.MimeMessage message) |
SMIMECompressedParser(javax.mail.internet.MimeBodyPart message) |
SMIMECompressedParser(javax.mail.internet.MimeBodyPart message,
int bufferSize)
Create a parser from a MimeBodyPart using the passed in buffer size
for reading it.
|
SMIMECompressedParser(javax.mail.internet.MimeMessage message) |
SMIMECompressedParser(javax.mail.internet.MimeMessage message,
int bufferSize)
Create a parser from a MimeMessage using the passed in buffer size
for reading it.
|
SMIMEEnveloped(javax.mail.internet.MimeBodyPart message) |
SMIMEEnveloped(javax.mail.internet.MimeMessage message) |
SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message) |
SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message,
int bufferSize)
Create a parser from a MimeBodyPart using the passed in buffer size
for reading it.
|
SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message) |
SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message,
int bufferSize)
Create a parser from a MimeMessage using the passed in buffer size
for reading it.
|
SMIMESigned(javax.mail.internet.MimeMultipart message)
base constructor using a defaultContentTransferEncoding of 7bit
|
SMIMESigned(javax.mail.internet.MimeMultipart message,
String defaultContentTransferEncoding)
base constructor with settable contentTransferEncoding
|
SMIMESigned(javax.mail.Part message)
base constructor for a signed message with encapsulated content.
|
SMIMESignedParser(javax.mail.internet.MimeMultipart message)
base constructor using a defaultContentTransferEncoding of 7bit.
|
SMIMESignedParser(javax.mail.internet.MimeMultipart message,
File backingFile)
base constructor using a defaultContentTransferEncoding of 7bit and a specified backing file.
|
SMIMESignedParser(javax.mail.internet.MimeMultipart message,
String defaultContentTransferEncoding)
base constructor with settable contentTransferEncoding.
|
SMIMESignedParser(javax.mail.internet.MimeMultipart message,
String defaultContentTransferEncoding,
File backingFile)
base constructor with settable contentTransferEncoding and a specified backing file.
|
SMIMESignedParser(javax.mail.Part message)
base constructor for a signed message with encapsulated content.
|
SMIMESignedParser(javax.mail.Part message,
File file)
Constructor for a signed message with encapsulated content.
|
Modifier and Type | Method and Description |
---|---|
CertStore |
TimeStampToken.getCertificatesAndCRLs(String type,
String provider) |
Modifier and Type | Method and Description |
---|---|
CMSTimeStampedData |
CMSTimeStampedData.addTimeStamp(TimeStampToken token)
Return a new timeStampedData object with the additional token attached.
|
byte[] |
CMSTimeStampedDataParser.calculateNextHash(DigestCalculator calculator) |
byte[] |
CMSTimeStampedData.calculateNextHash(DigestCalculator calculator) |
CMSTimeStampedData |
CMSTimeStampedDataGenerator.generate(TimeStampToken timeStamp) |
CMSTimeStampedData |
CMSTimeStampedDataGenerator.generate(TimeStampToken timeStamp,
byte[] content) |
CMSTimeStampedData |
CMSTimeStampedDataGenerator.generate(TimeStampToken timeStamp,
InputStream content) |
TimeStampToken[] |
CMSTimeStampedDataParser.getTimeStampTokens() |
TimeStampToken[] |
CMSTimeStampedData.getTimeStampTokens() |
void |
CMSTimeStampedGenerator.initialiseMessageImprintDigestCalculator(DigestCalculator calculator)
Initialise the passed in calculator with the MetaData for this message, if it is
required as part of the initial message imprint calculation.
|
void |
CMSTimeStampedDataParser.initialiseMessageImprintDigestCalculator(DigestCalculator calculator)
Initialise the passed in calculator with the MetaData for this message, if it is
required as part of the initial message imprint calculation.
|
void |
CMSTimeStampedData.initialiseMessageImprintDigestCalculator(DigestCalculator calculator)
Initialise the passed in calculator with the MetaData for this message, if it is
required as part of the initial message imprint calculation.
|
void |
CMSTimeStampedDataParser.validate(DigestCalculatorProvider calculatorProvider,
byte[] dataDigest)
Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData.
|
void |
CMSTimeStampedData.validate(DigestCalculatorProvider calculatorProvider,
byte[] dataDigest)
Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData.
|
void |
CMSTimeStampedDataParser.validate(DigestCalculatorProvider calculatorProvider,
byte[] dataDigest,
TimeStampToken timeStampToken)
Validate the passed in timestamp token against the tokens and data present in the message.
|
void |
CMSTimeStampedData.validate(DigestCalculatorProvider calculatorProvider,
byte[] dataDigest,
TimeStampToken timeStampToken)
Validate the passed in timestamp token against the tokens and data present in the message.
|
Constructor and Description |
---|
CMSTimeStampedDataParser(byte[] baseData) |
CMSTimeStampedDataParser(InputStream in) |
Copyright © 2015. All rights reserved.