Uses of Class
br.ufsc.labsec.signature.exceptions.EncodingException
-
Uses of EncodingException in br.ufsc.labsec.signature
Methods in br.ufsc.labsec.signature that throw EncodingException Modifier and Type Method Description booleanVerifier. needSignedContent() -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.signed
Constructors in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.signed that throw EncodingException Constructor Description IdAaSigningCertificateV2(String algorithm, List<Certificate> certificates)Constrói o atributo a partir do identificador do algoritmo de resumo criptográfico e de uma lista de certificados. -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned
Methods in br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned that throw EncodingException Modifier and Type Method Description default voidCertificateValuesDecoder. decode(org.json.JSONObject unprotectedHeader)Decodifica o atributo CertificateValues a partir da sua codificação padrão obtida da assinatura.Constructors in br.ufsc.labsec.signature.conformanceVerifier.jades.attributes.unsigned that throw EncodingException Constructor Description AttributeCertificateRefs(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader)CertificateValues(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader)Deve-se utilizar este construtor no momento de validação do atributo.CompleteCertificateRefs(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader)Construtor utilizado para verificação.TimeStampValidationData(Verifier signatureVerifier, org.json.JSONObject protectedHeader, org.json.JSONObject unprotectedHeader)Construtor. -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact
Methods in br.ufsc.labsec.signature.conformanceVerifier.report.verificationPackage.compressedArtifact that throw EncodingException Modifier and Type Method Description protected abstract Map<String,Serializable>CompressedArtifact. getMap()Retorna umMapcom as informações do artefato.protected Map<String,Serializable>CompressedLPA. getMap() -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy
Methods in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy that throw EncodingException Modifier and Type Method Description protected SignaturePolicySignaturePolicyCache. decodeEntry(byte[]... encoded) -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder
Methods in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder that throw EncodingException Modifier and Type Method Description static SignaturePolicySignaturePolicy. fromBytes(byte[] encoded) -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.lpa
Methods in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.lpa that throw EncodingException Modifier and Type Method Description protected Lpa<Signature<?>>LpaCache. decodeEntry(byte[] encoded, byte[] sigEncoded)byte[]Lpa. getSignatureBytes()Retorna os bytes da assinatura da LPA -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.lpa.decoder
Methods in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.lpa.decoder that throw EncodingException Modifier and Type Method Description static StringLpaDecoding. decodePolicyOid(org.bouncycastle.asn1.ASN1Encodable policyOidObject)static StringLpaDecoding. decodePolicyUri(org.bouncycastle.asn1.ASN1Encodable policyUriObject)static StringLpaDecoding. decodeTime(org.bouncycastle.asn1.ASN1Encodable timeObject)Constructors in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.lpa.decoder that throw EncodingException Constructor Description Asn1PolicyInfo(byte[] encoded)Construtor, decodifica os bytes da política na ASN.1 da LPA -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.schema
Methods in br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.schema that throw EncodingException Modifier and Type Method Description voidTimeStamp. addUnsignedAttribute(String attributeId, AttributeParams params)Adiciona um atributo não-assinadodefault voidCertificateValuesType. decode(Element attributeElement)Decodifica o atributo @ CertificateValues} a partir da sua codificação padrão obtida da assinatura.protected TimeStampVerifierInterfaceXAdESTimeStampType. makeTimeStampVerifier(boolean containsRefsTimestamp, boolean containsArchiveTimestamp)Cria um objetoTimeStampVerifierInterface -
Uses of EncodingException in br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.unsigned
Methods in br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.unsigned that throw EncodingException Modifier and Type Method Description List<CertificateValues>TimeStampValidationData. getCertificateValues()protected TimeStampVerifierInterfaceArchiveTimeStamp. makeTimeStampVerifier(boolean containsRefsTimestamp, boolean containsArchiveTimestamp)Cria um objetoTimeStampVerifierInterfaceprotected TimeStampVerifierInterfaceSigAndRefsTimeStamp. makeTimeStampVerifier(boolean containsRefsTimestamp, boolean containsArchiveTimestamp)Cria um objetoTimeStampVerifierInterfaceprotected TimeStampVerifierInterfaceSigAndRefsTimeStampV2. makeTimeStampVerifier(boolean containsRefsTimestamp, boolean containsArchiveTimestamp)Cria um objetoTimeStampVerifierInterfaceprotected TimeStampVerifierInterfaceSignatureTimeStamp. makeTimeStampVerifier(boolean containsRefsTimestamp, boolean containsArchiveTimestamp)Cria um objetoTimeStampVerifierInterfacevoidTimeStampValidationData. validate()Constructors in br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.unsigned that throw EncodingException Constructor Description AttrAuthoritiesCertValues(AbstractVerifier verifier, Integer index)Construtor usado somente na verificação da assinatura.AttrAuthoritiesCertValues(Element attributeEncoded)ConstrutorCertificateValues(AbstractVerifier signatureVerifier, Integer index)Deve-se utilizar este construtor no momento de validação do atributo.CertificateValues(Element genericEncoding)Construtor usado quando se quer obter umCertificateValues -
Uses of EncodingException in br.ufsc.labsec.signature.repository.PKCS12IdentityService
Methods in br.ufsc.labsec.signature.repository.PKCS12IdentityService that throw EncodingException Modifier and Type Method Description protected RevocationResult<X509CRL>CRLCacheManagement. decodeEntry(byte[]... encodedParts)protected RevocationResult<org.bouncycastle.cert.ocsp.OCSPResp>OCSPCacheManagement. decodeEntry(byte[]... encodedParts) -
Uses of EncodingException in br.ufsc.labsec.utils.cache
Methods in br.ufsc.labsec.utils.cache that throw EncodingException Modifier and Type Method Description protected abstract DataCache. decodeEntry(byte[]... encodedParts)Decodifica um objeto em cache a partir de seus bytes em "chunks", habilitando armazenamento de um objeto em diversos arquivos, como assinaturas detached, por exemplo.protected DataDetachedCache. decodeEntry(byte[]... encoded)Decodificação original deCachedesabilitada, pois a cache de assinaturas destacadas requer a assinatura para decodificaçãoprotected abstract DataDetachedCache. decodeEntry(byte[] encoded, byte[] encodedSig)Decodifica um objeto a partir de seus bytes e da assinatura destacadaDataCacheEntry. read()Lê os bytes do arquivo da memória ou do discovoidCacheEntry. writeInDisk(File where, byte[] data)Escreve os bytes no disco