Class CompressedLPA
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedArtifact<Lpa>
br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedLPA
public class CompressedLPA extends CompressedArtifact<Lpa>
-
Field Summary
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedArtifact
artifact, artifactName
-
Constructor Summary
Constructors Constructor Description CompressedLPA(Lpa artifact)
CompressedLPA(org.json.JSONObject artifact)
-
Method Summary
Modifier and Type Method Description protected Map<String,Serializable>
getMap()
Retorna umMap
com as informações do artefato.protected Lpa
parseArtifact(org.json.JSONObject artifact)
Realiza o parsing de um artefato a partir de umJSONObject
.static Map<Integer,CompressedLPA>
parseCompressed(org.json.JSONObject artifactsInfo)
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedArtifact
compress, computeHashCode, encodedToBase64String, equals, getArtifact, getCode, getEncoded, getExtraEncoded, getExtraName, getName, getNullable, getSource, hasArtifact, hashCode, parseMultipleCompressed, parseSingleCompressed, toBase64
-
Constructor Details
-
CompressedLPA
-
CompressedLPA
public CompressedLPA(org.json.JSONObject artifact)
-
-
Method Details
-
getMap
Description copied from class:CompressedArtifact
Retorna umMap
com as informações do artefato.- Specified by:
getMap
in classCompressedArtifact<Lpa>
- Returns:
- Um
Map
com as informações do artefato. - Throws:
IOException
- Caso tenha havido um erro de I/O.EncodingException
- Caso tenha havido um problema durante a extração dos bytes de uma assinatura referente a umaLpa
.
-
parseArtifact
Description copied from class:CompressedArtifact
Realiza o parsing de um artefato a partir de umJSONObject
.- Specified by:
parseArtifact
in classCompressedArtifact<Lpa>
- Parameters:
artifact
-JSONObject
relativo ao artefato.- Returns:
- O artefato parseado.
- Throws:
IOException
- Caso tenha havido um erro de I/O.
-
parseCompressed
-