Top Methods
org.bouncycastle.its.operator

public Interface ITSContentSigner

Known Direct Implementers
org.bouncycastle.its.bc.BcITSContentSigner, org.bouncycastle.its.jcajce.JcaITSContentSigner
Imports
java.io.OutputStream, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.its.ITSCertificate

Method Summary

Modifier and TypeMethod and Description
public ITSCertificate
public byte[]
public ASN1ObjectIdentifier
public AlgorithmIdentifier
public OutputStream

Returns:

an OutputStream
getOutputStream
()

Returns a stream that will accept data for the purpose of calculating a signature.

public byte[]

Returns:

bytes representing the signature.
getSignature
()

Returns a signature based on the current data written to the stream, since the start or the last call to getSignature().

public boolean

Returns:

true if for self-signing.
isForSelfSigning
()

Return true if this ContentSigner is for self signing.

Method Detail

getAssociatedCertificateback to summary
public ITSCertificate getAssociatedCertificate()
getAssociatedCertificateDigestback to summary
public byte[] getAssociatedCertificateDigest()
getCurveIDback to summary
public ASN1ObjectIdentifier getCurveID()
getDigestAlgorithmback to summary
public AlgorithmIdentifier getDigestAlgorithm()
getOutputStreamback to summary
public OutputStream getOutputStream()

Returns a stream that will accept data for the purpose of calculating a signature. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.

Returns:OutputStream

an OutputStream

getSignatureback to summary
public byte[] getSignature()

Returns a signature based on the current data written to the stream, since the start or the last call to getSignature().

Returns:byte[]

bytes representing the signature.

isForSelfSigningback to summary
public boolean isForSelfSigning()

Return true if this ContentSigner is for self signing. False otherwise.

Returns:boolean

true if for self-signing.