@Deprecated 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()
Deprecated.
Gets the collection of certificates.
|
Oid[] |
getDigestAlgorithms()
Deprecated.
Gets the array of message-digest algorithm identifiers.
|
CmsEncapsulatedContentInfo |
getEncapsulatedContentInfo()
Deprecated.
Gets the signed content, consisting of a content type identifier and the content itself.
|
CmsSignerInfo[] |
getSignerInfoEntries()
Deprecated.
Gets the collection of per-signer information.
|
Date |
getSignTime()
Deprecated.
Gets the time at which the signer (purportedly) performed the signing process.
|
boolean |
isValid()
Deprecated.
Gets
true if signature is valid. |
getCertificateRawData, getCertificateSubject, getComments
getByType, getKeys, getMetadataType, iterator, readByStringKey
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 CmsEncapsulatedContentInfo getEncapsulatedContentInfo()
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 CmsSignerInfo[] getSignerInfoEntries()
Gets the collection of per-signer information.
public boolean isValid()
Gets true
if signature is valid.
isValid
in class DigitalSignature
true
if is valid; otherwise, false
.public Date getSignTime()
Gets the time at which the signer (purportedly) performed the signing process.
getSignTime
in class DigitalSignature
Copyright © 2020. All rights reserved.