| java.lang.Object sun.security.pkcs.SignerInfo
SignerInfo | public class SignerInfo implements DerEncoder(Code) | | A SignerInfo, as defined in PKCS#7's signedData type.
author: Benjamin Renaud version: 1.40 02/02/00 |
Constructor Summary | |
public | SignerInfo(X500Name issuerName, BigInteger serial, AlgorithmId digestAlgorithmId, AlgorithmId digestEncryptionAlgorithmId, byte[] encryptedDigest) | public | SignerInfo(X500Name issuerName, BigInteger serial, AlgorithmId digestAlgorithmId, PKCS9Attributes authenticatedAttributes, AlgorithmId digestEncryptionAlgorithmId, byte[] encryptedDigest, PKCS9Attributes unauthenticatedAttributes) | public | SignerInfo(DerInputStream derin) Parses a PKCS#7 signer info. | public | SignerInfo(DerInputStream derin, boolean oldStyle) Parses a PKCS#7 signer info. |
encryptedDigest | byte[] encryptedDigest(Code) | | |
SignerInfo | public SignerInfo(DerInputStream derin, boolean oldStyle) throws IOException, ParsingException(Code) | | Parses a PKCS#7 signer info.
This constructor is used only for backwards compatibility with
PKCS#7 blocks that were generated using JDK1.1.x.
Parameters: derin - the ASN.1 encoding of the signer info. Parameters: oldStyle - flag indicating whether or not the given signer infois encoded according to JDK1.1.x. |
derEncode | public void derEncode(OutputStream out) throws IOException(Code) | | DER encode this object onto an output stream.
Implements the DerEncoder interface.
Parameters: out - the output stream on which to write the DER encoding. exception: IOException - on encoding error. |
getDigestEncryptionAlgorithmId | public AlgorithmId getDigestEncryptionAlgorithmId()(Code) | | |
getEncryptedDigest | public byte[] getEncryptedDigest()(Code) | | |
|
|