Interface ArtifactToBeSigned<T extends ExtraInformation>
- All Superinterfaces:
SignatureObject
- All Known Implementing Classes:
FileToBeSigned
-
Method Summary
Modifier and TypeMethodDescriptionbr.ufsc.labsec.pbad.ykue_utils.signature.CertificateInformationbyte[]br.ufsc.labsec.pbad.ykue_utils.signature.InformationSignerbyte[]booleanisRemote()static WrapperInputStreamreadableInputStream(byte[] bytes) static InputStreamreadableInputStream(InputStream inputStream) withKeyStore(PrivateKeyInformation privateKey, br.ufsc.labsec.pbad.ykue_utils.signature.CertificateInformation certInfo, br.ufsc.labsec.pbad.ykue_utils.signature.InformationSigner signer, boolean remote) Returns a copy of this artifact with the given key store information substituted in.
-
Method Details
-
readableInputStream
- Throws:
IOException
-
readableInputStream
-
withKeyStore
ArtifactToBeSigned<T> withKeyStore(PrivateKeyInformation privateKey, br.ufsc.labsec.pbad.ykue_utils.signature.CertificateInformation certInfo, br.ufsc.labsec.pbad.ykue_utils.signature.InformationSigner signer, boolean remote) throws IOException Returns a copy of this artifact with the given key store information substituted in.- Throws:
IOException
-
getFilename
String getFilename() -
getMimeType
String getMimeType() -
getSignatureFormat
FileFormat getSignatureFormat() -
getSignatureSuite
String getSignatureSuite() -
isRemote
boolean isRemote() -
getContentToBeSigned
InputStream getContentToBeSigned() -
getContentToBeSignedBytes
byte[] getContentToBeSignedBytes() -
getSignatureContent
InputStream getSignatureContent() -
getSignatureContentBytes
byte[] getSignatureContentBytes() -
getSignedAttributes
-
getUnsignedAttributes
-
getSelectedAttributes
-
getSelectedAttributes2
-
getPrivateKeyInformation
PrivateKeyInformation getPrivateKeyInformation() -
getCertificateInformation
br.ufsc.labsec.pbad.ykue_utils.signature.CertificateInformation getCertificateInformation() -
getInformationSigner
br.ufsc.labsec.pbad.ykue_utils.signature.InformationSigner getInformationSigner() -
getExtraInformation
T getExtraInformation() -
getSignatureMode
SignMode getSignatureMode()
-