com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class Cms

  • All Implemented Interfaces:
    Iterable<MetadataProperty>


    public class Cms
    extends DigitalSignature

    Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. CMS is based on the syntax of PKCS #7, specified in RFC 5652. Please see <a href="https://tools.ietf.org/html/rfc5652">https://tools.ietf.org/html/rfc5652</a> for more information.

    • Method Detail

      • getDigestAlgorithms

        public final Oid[] getDigestAlgorithms()

        Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero.

        Returns:
        The array of message-digest algorithm identifiers.
      • getEncapsulatedContent

        public final CmsEncapsulatedContent getEncapsulatedContent()

        Gets the signed content, consisting of a content type identifier and the content itself.

        Returns:
        The signed content, consisting of a content type identifier and the content itself.
      • getCertificates

        public final CmsCertificate[] getCertificates()

        Gets the collection of certificates.

        Returns:
        The collection of certificates.


        It is intended that the set of certificates be sufficient to contain certification paths from a recognized "root" or "top-level certification authority" to all of the signers in the SignerInfo field.
      • getSigners

        public final CmsSigner[] getSigners()

        Gets the collection of per-signer information packages.

        Returns:
        The collection of per-signer information packages.


        There may be any number of elements in the collection, including zero.
      • getSignTime

        public Date getSignTime()

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

        Overrides:
        getSignTime in class DigitalSignature
        Returns:
        The time at which the signer (purportedly) performed the signing process.