public class JcaITSContentSigner extends java.lang.Object implements ITSContentSigner
Modifier and Type | Class and Description |
---|---|
static class |
JcaITSContentSigner.Builder |
Modifier and Type | Method and Description |
---|---|
ITSCertificate |
getAssociatedCertificate() |
byte[] |
getAssociatedCertificateDigest() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getCurveID() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getDigestAlgorithm() |
java.io.OutputStream |
getOutputStream()
Returns a stream that will accept data for the purpose of calculating
a signature.
|
byte[] |
getSignature()
Returns a signature based on the current data written to the stream, since the
start or the last call to getSignature().
|
boolean |
isForSelfSigning()
Return true if this ContentSigner is for self signing.
|
public java.io.OutputStream getOutputStream()
ITSContentSigner
getOutputStream
in interface ITSContentSigner
public byte[] getSignature()
ITSContentSigner
getSignature
in interface ITSContentSigner
public ITSCertificate getAssociatedCertificate()
getAssociatedCertificate
in interface ITSContentSigner
public byte[] getAssociatedCertificateDigest()
getAssociatedCertificateDigest
in interface ITSContentSigner
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm()
getDigestAlgorithm
in interface ITSContentSigner
public org.bouncycastle.asn1.ASN1ObjectIdentifier getCurveID()
getCurveID
in interface ITSContentSigner
public boolean isForSelfSigning()
ITSContentSigner
isForSelfSigning
in interface ITSContentSigner