public class CMSPatchKit
extends java.lang.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,
org.bouncycastle.asn1.x509.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, org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm)
original
- the source SignerInformation