Class CustomContentSigner
java.lang.Object
eu.europa.esig.dss.cades.signature.CustomContentSigner
- All Implemented Interfaces:
org.bouncycastle.operator.ContentSigner
ContentSigner using a provided pre-computed signature
-
Constructor Summary
ConstructorsConstructorDescriptionCustomContentSigner(String algorithmIdentifier) The default constructor for thePreComputedContentSigner.CustomContentSigner(String algorithmIdentifier, byte[] preComputedSignature) This is the constructor for thePreComputedContentSignerusing the real value of the signature. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifierbyte[]
-
Constructor Details
-
CustomContentSigner
-
CustomContentSigner
This is the constructor for thePreComputedContentSignerusing the real value of the signature.- Parameters:
algorithmIdentifier-Stringthe JCE algorithm identifierpreComputedSignature- the preComputedSignature to set
-
-
Method Details
-
getAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()- Specified by:
getAlgorithmIdentifierin interfaceorg.bouncycastle.operator.ContentSigner
-
getOutputStream
- Specified by:
getOutputStreamin interfaceorg.bouncycastle.operator.ContentSigner
-
getSignature
public byte[] getSignature()- Specified by:
getSignaturein interfaceorg.bouncycastle.operator.ContentSigner
-