A PKCS #10 certificate request is created and sent to a Certificate
Authority, which then creates an X.509 certificate (or perhaps a PKCS #6
extended certificate) and returns it to the entity that requested it.
Encrypts the current ContentInfo with a generated secret key and encrypts
the secret key with the recipient certificate(s) that were already specified
for this SMIMESender object.
Encrypts the message with a generated secret key and encrypts the secret key
with the recipient certificate(s) that were already specified for
this SMIMEMimeMessage object.
Encrypts the message with a generated secret key and encrypts the secret key
with the recipient certificate(s) that were already specified for
this SMIMEMimeMessage object.
Encrypts the current ContentInfo with a generated secret key and encrypts
the secret key with the recipient certificate(s) that were already specified
for this SMIMESender object.
Get the CertificationRequest object from the byte array
of the PKCS #10 CertificationRequest object
that is stored in the body the SMIMEMessage object for
this SMIMEReceiver object.
Get the DER-encoded byte array of the PKCS #10 CertificationRequest object
that is stored in the body the SMIMEMessage object for
this SMIMEReceiver object.
Get the ContentInfo object from the byte array of the PKCS #7 ContentInfo object
that is stored in the body the SMIMEMessage object for
this SMIMEReceiver object.
Returns a name for the algorithm which may be more intelligible
to humans than the algorithm's OID, but which won't necessarily
be comprehensible on other systems.
Returns a copy of the matching recipientInfo contained in this object for the
specified certificate, or null if the recipientInfo objects
have not been set.
Get all encrypted private keys (shrouded keys) stored in this PFX having
the input friendly name and protected with the input password (or
unprotected).
Implements the PKCS #12 PFX PDU type in a format importable into Netscape
Communicator's certificate database or Microsoft's Certificate Import
Wizard.
PFX() -
Constructor for class com.ibm.security.pkcs12.PFX
Create a PFX object with data attributes to be filled in later.
PFX(byte[]) -
Constructor for class com.ibm.security.pkcs12.PFX
Create a SignedData object with the specified certificate array,
contentInfo, message digest and signature algorithm, and private key array
and derive a signature for each certificate in the signing certificate array.
Create a SignedData object with the specified certificate array,
contentInfo, message digest and signature algorithm, and private key array
and derive a signature for each certificate in the signing certificate array.
Create a SignedData object with the specified certificate,
contentInfo, message digest and signature algorithm, and private key
and derive a signature for the specified signing certificate.
Create a SignedData object with the specified certificate,
contentInfo, message digest and signature algorithm, and private key
and derive a signature for the specified signing certificate.
Create a SignerInfo object with the specified certificate,
contentInfo, message digest
algorithm, signature algorithm, and private key and derive a signature value
from the contentInfo.
Create a SignerInfo object with the specified certificate,
contentInfo, message digest
algorithm, signature algorithm, and private key and derive a signature value
from the contentInfo.
Create a SignerInfo object with the specified certificate,
contentInfo, message digest
algorithm, signature algorithm, and private key and derive a signature value
from the contentInfo.
Create a SignerInfo object with the specified certificate,
contentInfo, message digest
algorithm, signature algorithm, and private key and derive a signature value
from the contentInfo.
The SMIMEMimeMultipart class supports multipart/signed S/MIME messages where
the contents of the message is detached and sent as a separate part with
the encoded SignedData object that does not include the contents.
Receives a S/MIME message from a sender and provides methods to retrieve
the stored PKCS #7 ContentInfo or PKCS #10 CertificationRequest object
within the S/MIME message.
Returns a string representation of this PKCSAttributes object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
Verify the message digest stored in the SignerInfo object with
the specified original byte array and the public key contained
in the specified certificate.