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
ConstructorDescriptionCustomContentSigner
(String algorithmIdentifier) The default constructor for thePreComputedContentSigner
.CustomContentSigner
(String algorithmIdentifier, byte[] preComputedSignature) This is the constructor for thePreComputedContentSigner
using the real value of the signature. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifier
byte[]
-
Constructor Details
-
CustomContentSigner
-
CustomContentSigner
This is the constructor for thePreComputedContentSigner
using the real value of the signature.- Parameters:
algorithmIdentifier
-String
the JCE algorithm identifierpreComputedSignature
- the preComputedSignature to set
-
-
Method Details
-
getAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()- Specified by:
getAlgorithmIdentifier
in interfaceorg.bouncycastle.operator.ContentSigner
-
getOutputStream
- Specified by:
getOutputStream
in interfaceorg.bouncycastle.operator.ContentSigner
-
getSignature
public byte[] getSignature()- Specified by:
getSignature
in interfaceorg.bouncycastle.operator.ContentSigner
-