Class CompressedOCSP
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedArtifact<org.apache.commons.lang3.tuple.Pair<String, org.bouncycastle.asn1.ocsp.BasicOCSPResponse>>
br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedCommonSource<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact.CompressedOCSP
public class CompressedOCSP
extends CompressedCommonSource<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
-
Field Summary
Fields inherited from class CompressedArtifact
artifact, artifactName -
Constructor Summary
ConstructorsConstructorDescriptionCompressedOCSP(org.apache.commons.lang3.tuple.Pair<Source, org.bouncycastle.asn1.ocsp.BasicOCSPResponse> artifact) CompressedOCSP(org.json.JSONObject artifact) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bouncycastle.asn1.ocsp.BasicOCSPResponseparse(org.json.JSONObject artifact) static Map<Integer, CompressedOCSP> parseCompressed(org.json.JSONObject artifactsInfo) Methods inherited from class CompressedCommonSource
encodedToBase64String, getMap, parseArtifact, toArtifactWithSourceMethods inherited from class CompressedArtifact
compress, computeHashCode, encodedToBase64String, equals, getArtifact, getCode, getEncoded, getExtraEncoded, getExtraName, getName, getNullable, getSource, hasArtifact, hashCode, parseMultipleCompressed, parseSingleCompressed, toBase64
-
Constructor Details
-
CompressedOCSP
public CompressedOCSP(org.apache.commons.lang3.tuple.Pair<Source, org.bouncycastle.asn1.ocsp.BasicOCSPResponse> artifact) -
CompressedOCSP
public CompressedOCSP(org.json.JSONObject artifact)
-
-
Method Details
-
parse
protected org.bouncycastle.asn1.ocsp.BasicOCSPResponse parse(org.json.JSONObject artifact) throws IOException - Specified by:
parsein classCompressedCommonSource<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>- Throws:
IOException
-
parseCompressed
-