| Constructor and Description |
|---|
SignableFile(java.io.File aFile) |
SignableFile(java.io.File aFile,
int aBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getAsInputStream()
Returns content as input stream.
|
byte[] |
getContentData()
Returns content data to add content to the signature.
|
java.io.File |
getFile() |
byte[] |
getMessageDigest(tr.gov.tubitak.uekae.esya.api.crypto.alg.DigestAlg aDigestAlg)
Returns digest of content to sign.
|
public SignableFile(java.io.File aFile)
public SignableFile(java.io.File aFile,
int aBufferSize)
public byte[] getMessageDigest(tr.gov.tubitak.uekae.esya.api.crypto.alg.DigestAlg aDigestAlg)
throws tr.gov.tubitak.uekae.esya.api.crypto.exceptions.CryptoException,
java.io.IOException
ISignablegetMessageDigest in interface ISignableaDigestAlg - algorithm for digest operationtr.gov.tubitak.uekae.esya.api.crypto.exceptions.CryptoExceptionjava.io.IOExceptionpublic byte[] getContentData()
ISignablegetContentData in interface ISignablepublic java.io.InputStream getAsInputStream()
throws java.io.IOException
ISignablegetAsInputStream in interface ISignablejava.io.IOExceptionpublic java.io.File getFile()
Copyright © 2025. All rights reserved.