CmsSigner

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public class CmsSigner extends CustomPackage

Represents CMS per-signer information.

Methods

Method Description
getSignerIdentifier() Gets the signer’s certificate (and thereby the signer’s public key) raw data.
getDigestAlgorithm() Gets the message digest algorithm, and any associated parameters, used by the signer.
getSignedAttributes() Gets the collection of attributes that are signed.
getSignatureAlgorithm() Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature.
getSignatureValue() Gets the result of digital signature generation, using the message digest and the signer’s private key.
getUnsignedAttributes() Gets the collection of attributes that are not signed.
getSigningTime() Gets the time at which the signer (purportedly) performed the signing process.

getSignerIdentifier()

public final byte[] getSignerIdentifier()

Gets the signer’s certificate (and thereby the signer’s public key) raw data.

Returns: byte[] - The signer’s certificate (and thereby the signer’s public key) raw data.

getDigestAlgorithm()

public final Oid getDigestAlgorithm()

Gets the message digest algorithm, and any associated parameters, used by the signer.

Returns: Oid - The message digest algorithm, and any associated parameters, used by the signer.

getSignedAttributes()

public final CmsAttribute[] getSignedAttributes()

Gets the collection of attributes that are signed.

Returns: com.groupdocs.metadata.core.CmsAttribute[] - The collection of attributes that are signed.

getSignatureAlgorithm()

public final Oid getSignatureAlgorithm()

Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature.

Returns: Oid - The signature algorithm, and any associated parameters, used by the signer to generate the digital signature.

getSignatureValue()

public final String getSignatureValue()

Gets the result of digital signature generation, using the message digest and the signer’s private key.

Returns: java.lang.String - The result of digital signature generation, using the message digest and the signer’s private key.

getUnsignedAttributes()

public final CmsAttribute[] getUnsignedAttributes()

Gets the collection of attributes that are not signed.

Returns: com.groupdocs.metadata.core.CmsAttribute[] - The collection of attributes that are not signed.

getSigningTime()

public final Date getSigningTime()

Gets the time at which the signer (purportedly) performed the signing process.

Returns: java.util.Date - The time at which the signer (purportedly) performed the signing process.