public interface Reader
SignatureReader class.| Modifier and Type | Method and Description |
|---|---|
KSISignature |
read(byte[] bytes)
Converts byte array to
KSISignature. |
KSISignature |
read(File file)
Creates
KSISignature from file. |
KSISignature |
read(InputStream input)
Creates
KSISignature from input stream. |
KSISignature read(InputStream input) throws KSIException
KSISignature from input stream.input - the InputStream to create KSI signature from, must not be null.KSISignature).KSIException - when error occurs (e.g. file contains invalid TLV structures).KSISignature read(byte[] bytes) throws KSIException
KSISignature.bytes - bytes to create KSI signature from, must not be null.KSISignature).KSIException - when error occurs (e.g. file contains invalid TLV structures).KSISignature read(File file) throws KSIException
KSISignature from file.file - file to create the KSI signature from.KSISignature).KSIException - when error occurs (e.g. file contains invalid TLV structures).Copyright © 2024 Guardtime. All rights reserved.