Package | Description |
---|---|
org.bouncycastle.cms |
A package for processing RFC 3852 Cryptographic Message Syntax (CMS) objects - also referred to as PKCS#7 (formerly RFC 2630, 3369).
|
org.bouncycastle.tsp |
Classes for dealing Time Stamp Protocol (TSP) - RFC 3161.
|
Modifier and Type | Method and Description |
---|---|
static SignerInformation |
SignerInformation.addCounterSigners(SignerInformation signerInformation,
SignerInformationStore counterSigners)
Return a signer information object with passed in SignerInformationStore representing counter
signatures attached as an unsigned attribute.
|
SignerInformation |
SignerInformationStore.get(SignerId selector)
Return the first SignerInformation object that matches the
passed in selector.
|
static SignerInformation |
SignerInformation.replaceUnsignedAttributes(SignerInformation signerInformation,
org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)
Return a signer information object with the passed in unsigned
attributes replacing the ones that are current associated with
the object passed in.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SignerInformation> |
SignerInformationStore.getSigners()
Return all signers in the collection
|
java.util.Collection<SignerInformation> |
SignerInformationStore.getSigners(SignerId selector)
Return possible empty collection with signers matching the passed in SignerId
|
java.util.Iterator<SignerInformation> |
SignerInformationStore.iterator()
Support method for Iterable where available.
|
Modifier and Type | Method and Description |
---|---|
static SignerInformation |
SignerInformation.addCounterSigners(SignerInformation signerInformation,
SignerInformationStore counterSigners)
Return a signer information object with passed in SignerInformationStore representing counter
signatures attached as an unsigned attribute.
|
SignerInformationStore |
CMSSignedDataGenerator.generateCounterSigners(SignerInformation signer)
generate a set of one or more SignerInformation objects representing counter signatures on
the passed in SignerInformation object.
|
static SignerInformation |
SignerInformation.replaceUnsignedAttributes(SignerInformation signerInformation,
org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)
Return a signer information object with the passed in unsigned
attributes replacing the ones that are current associated with
the object passed in.
|
Constructor and Description |
---|
SignerInformationStore(SignerInformation signerInfo)
Create a store containing a single SignerInformation object.
|
Constructor and Description |
---|
SignerInformationStore(java.util.Collection<SignerInformation> signerInfos)
Create a store containing a collection of SignerInformation objects.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection |
TSPUtil.getSignatureTimestamps(SignerInformation signerInfo,
DigestCalculatorProvider digCalcProvider)
Fetches the signature time-stamp attributes from a SignerInformation object.
|