public class CMSPatchKit extends Object
Constructor and Description |
---|
CMSPatchKit() |
Modifier and Type | Method and Description |
---|---|
static SignerInformation |
createNonDERSignerInfo(SignerInformation original)
Create a SignerInformation based on original which uses definite-length
rather than DER encoding for verifying the signature on the signed attributes.
|
static SignerInformation |
createWithSignatureAlgorithm(SignerInformation original,
AlgorithmIdentifier signatureAlgorithm)
Create a SignerInformation based on original has it's signatureAlgorithm replaced
with the passed in AlgorithmIdentifier.
|
public static SignerInformation createNonDERSignerInfo(SignerInformation original)
original
- the source SignerInformationpublic static SignerInformation createWithSignatureAlgorithm(SignerInformation original, AlgorithmIdentifier signatureAlgorithm)
original
- the source SignerInformationCopyright © 2021 BouncyCastle.org. All rights reserved.