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.
Modifier and Type | Method and Description |
---|---|
CmsCertificate[] |
getCertificates()
Gets the collection of certificates.
|
Oid[] |
getDigestAlgorithms()
Gets the array of message-digest algorithm identifiers.
|
CmsEncapsulatedContent |
getEncapsulatedContent()
Gets the signed content, consisting of a content type identifier and the content itself.
|
CmsSigner[] |
getSigners()
Gets the collection of per-signer information packages.
|
Date |
getSignTime()
Gets the time at which the signer (purportedly) performed the signing process.
|
getCertificateRawData, getCertificateSubject, getComments, isValid
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final Oid[] getDigestAlgorithms()
Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero.
public final CmsEncapsulatedContent getEncapsulatedContent()
Gets the signed content, consisting of a content type identifier and the content itself.
public final CmsCertificate[] getCertificates()
Gets the collection of certificates.
public final CmsSigner[] getSigners()
Gets the collection of per-signer information packages.
public Date getSignTime()
Gets the time at which the signer (purportedly) performed the signing process.
getSignTime
in class DigitalSignature