Uses of Class
br.ufsc.labsec.signature.conformanceVerifier.cades.CadesSignature
-
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.cades
Fields in br.ufsc.labsec.signature.conformanceVerifier.cades declared as CadesSignature Modifier and Type Field Description protected CadesSignature
AbstractVerifier. signature
Assinatura a ser verificadaFields in br.ufsc.labsec.signature.conformanceVerifier.cades with type parameters of type CadesSignature Modifier and Type Field Description protected List<CadesSignature>
CadesSignatureContainer. counterSignatures
protected SignatureContainer<CadesSignature>
CadesInformation. receiptRequest
Methods in br.ufsc.labsec.signature.conformanceVerifier.cades that return CadesSignature Modifier and Type Method Description CadesSignature
CadesSignatureContainer. getCadesSignatureAt(int index)
Retorna a assinatura cades no índice dadoCadesSignature
CadesSignatureContainer. getLastSignature()
CadesSignature
CadesSigner. getLastSignature(FileToBeSigned<? extends CadesInformation> fileToBeSigned)
CadesSignature
CadesVerifier. getSelectedSignature()
CadesSignature
AbstractVerifier. getSignature()
Retorna a assinatura passada na construção da classe.CadesSignature
SignatureVerifier. getSignature()
Retorna a assinatura que foi passada na construção da classe.CadesSignature
CadesSignatureContainer. getSignatureAt(int index)
Retorna a assinatura no índice dadoMethods in br.ufsc.labsec.signature.conformanceVerifier.cades that return types with arguments of type CadesSignature Modifier and Type Method Description SignatureContainer<CadesSignature>
CadesSigner. buildContainer(byte[] bytes)
protected SignatureContainer<CadesSignature>
CadesContainerGenerator. generateSignature(FileToBeSigned<? extends CadesInformation> fileToBeSigned, List<SignatureAttribute<org.bouncycastle.asn1.cms.Attribute>> signedAttributes)
Gera uma assinatura no formato CAdES.SignatureContainer<CadesSignature>
CadesSignatureInformation. getContainer()
Retorna o contêiner da assinaturaOptional<CadesSignature>
CadesSignatureContainer. getLastCounterSignature()
SignatureContainer<CadesSignature>
CadesInformation. getReceiptRequest()
List<CadesSignature>
CadesSignatureContainer. getSignatures()
Methods in br.ufsc.labsec.signature.conformanceVerifier.cades with parameters of type CadesSignature Modifier and Type Method Description void
CadesVerifier. addMissingUnsignedAttributes(SignatureVerifier verifier, CadesSignature verifiedSignature, CadesSignatureComponent signatureComponent)
Adiciona os atributos obrigatórios ausentes na assinatura selecionada.void
CadesSignatureContainer. addSignature(CadesSignature signature)
Adiciona um novo assinante ao contêiner.void
CadesVerifier. addValidationData(CadesSignature signature)
Adiciona novos certificados e CRLs ao SignatureIdentityInformation da assinatura de acordo com a presença dos atributos CertificateValues e RevocationValuesFileToBeSigned<?>
CadesVerifier. generateFileToBeSigned(CadesSignature verifiedSignature)
Gera um objetoFileToBeSigned
com as informações necessárias para manipulação de arquivos e assinaturas.byte[]
CadesSignatureInformation. getArchiveTimeStampATSHashValue(String hashAlgorithmName, CadesSignature signature, byte[] atsHashIndexV3)
Utiliza o algoritmo indicado para realizar o resumo criptográfico do carimbo de tempo de arquivamento para verificação do ArchiveTimesStampV3List<Certificate>
CadesVerifier. getSignatureCertificateValues(CadesSignature signature)
Retorna a lista de certificados do atributo IdAaEtsCertValuesList<CRL>
CadesVerifier. getSignatureRevocationValues(CadesSignature signature)
Retorna a lista de CRLs do atributo IdAaEtsRevocationValuesList<org.bouncycastle.cert.X509AttributeCertificateHolder>
CadesVerifier. getSignerCertifiedAttributes(CadesSignature signature)
Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,List<org.bouncycastle.asn1.ASN1Encodable>>
CadesVerifier. getSignerClaimedAttributes(CadesSignature signature)
Certificate
CadesVerifier. getSigningCertificate(CadesSignature signature)
void
AbstractVerifier. initialize(CadesSignature signature)
Método para inicializar um CAdES Verifiervoid
AbstractVerifier. initialize(CadesSignature signature, boolean isTimeStamp)
Inicializa os valores de atributos da classevoid
AbstractVerifier. initialize(CadesSignature signature, SignatureVerifierParams param)
Método para inicializar um CAdES Verifiervoid
AbstractVerifier. initialize(CadesSignature signature, SignatureVerifierParams params, boolean isTimeStamp)
Inicializa os valores de atributos da classeboolean
CadesSignatureInformation. isArchiveTimeStampWithATSHashValueValid(String hashAlgorithmId, CadesSignature signature, byte[] atsHashIndexV3, byte[] expected)
Set<CRL>
RevocationSignedDataCreator. otherCRLsToExclude(CRLRevocationInformation crlCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<CRL>
RevocationSignedDataCreator. otherCRLsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, CRLRevocationInformation crlCollection, List<CRL> certpathCRLs, CertPath certPath, Set<TrustAnchor> anchors, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
RevocationSignedDataCreator. otherOCSPsToExclude(OCSPRevocationInformation crlCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
RevocationSignedDataCreator. otherOCSPsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, OCSPRevocationInformation ocspCollection, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> certpathOCSPs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
protected boolean
CadesVerifier. validSignature(CadesSignature s)
Verifica se a assinatura foi feita com um certificado ICP-Brasil e se é uma assinatura CAdESMethod parameters in br.ufsc.labsec.signature.conformanceVerifier.cades with type arguments of type CadesSignature Modifier and Type Method Description void
CadesSignatureInformation. setParent(CmsParent<CadesSignature> parent)
Builder
CadesInformation.CadesInformationBuilderAbstract. setReceiptRequest(SignatureContainer<CadesSignature> receiptRequest)
Constructors in br.ufsc.labsec.signature.conformanceVerifier.cades with parameters of type CadesSignature Constructor Description SignatureVerifier(CadesSignature signature)
Constrói umSignatureVerifier
a partir da assinatura a ser verificada.SignatureVerifier(CadesSignature signature, CadesSignatureComponent cadesSignatureComponent)
Constrói umSignatureVerifier
a partir da assinatura a ser verificada e da política de assinatura usada na assinatura.SignatureVerifier(CadesSignature signature, SignatureVerifierParams params, CadesSignatureComponent cadesSignatureComponent)
Constrói umSignatureVerifier
a partir da assinatura a ser verificada.SignatureVerifier(CadesSignature signature, SignatureVerifierParams params, SignaturePolicyInterface signaturePolicy)
Constrói umSignatureVerifier
a partir da assinatura a ser verificada.Constructor parameters in br.ufsc.labsec.signature.conformanceVerifier.cades with type arguments of type CadesSignature Constructor Description CadesSignature(CadesSignatureContainer cadesSignatureContainer, org.bouncycastle.cms.SignerInformation signerInformation, CmsParent<CadesSignature> parent)
Cria uma assinatura CAdESCadesSignatureInformation(org.bouncycastle.cms.SignerInformation signerInformation, boolean isDetached, CmsParent<CadesSignature> parent)
Constrói umCadesSignatureInformation
-
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes
Methods in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes with parameters of type CadesSignature Modifier and Type Method Description void
TimeStampVerifier. addValidationData(CadesSignature signature)
Adiciona novos certificados e CRLs ao SignatureIdentityInformation da assinatura de acordo com a presença dos atributos CertificateValues e RevocationValuesList<org.bouncycastle.cert.X509AttributeCertificateHolder>
TimeStampVerifier. getSignatureAttributeCertificateValues(CadesSignature signature)
List<Certificate>
TimeStampVerifier. getSignatureCertificateValues(CadesSignature signature)
Retorna a lista de certificados do atributo IdAaEtsCertValuesList<CRL>
TimeStampVerifier. getSignatureRevocationValues(CadesSignature signature)
Retorna a lista de CRLs do atributoIdAaEtsRevocationValues
-
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.unsigned
Subclasses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.unsigned Modifier and Type Class Description class
IdCounterSignature
Representa uma contra assinatura no formato CAdES.Methods in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.unsigned with parameters of type CadesSignature Modifier and Type Method Description static org.bouncycastle.cms.SignerInformation
IdCounterSignature. getIthCounterSignature(CadesSignature signature, int n)
Constructor parameters in br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.unsigned with type arguments of type CadesSignature Constructor Description IdCounterSignature(org.bouncycastle.cms.SignerInformation counterSigner, CmsParent<CadesSignature> parent)
Esse construtor é utilizado para a assinatura da contra assinatura. -
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.cades.creator.unsigned
Methods in br.ufsc.labsec.signature.conformanceVerifier.cades.creator.unsigned with type parameters of type CadesSignature Modifier and Type Method Description <Information extends TSInformation<org.bouncycastle.asn1.cms.Attribute, ? extends CadesSignature>>
SignatureAttribute<org.bouncycastle.asn1.cms.Attribute>ATSHashIndexV3Creator. getAttribute(FileToBeSigned<Information> fileToBeSigned, CadesSignature signature)
Methods in br.ufsc.labsec.signature.conformanceVerifier.cades.creator.unsigned with parameters of type CadesSignature Modifier and Type Method Description <Information extends TSInformation<org.bouncycastle.asn1.cms.Attribute, ? extends CadesSignature>>
SignatureAttribute<org.bouncycastle.asn1.cms.Attribute>ATSHashIndexV3Creator. getAttribute(FileToBeSigned<Information> fileToBeSigned, CadesSignature signature)
<Information extends CadesInformation>
SignatureAttribute<org.bouncycastle.asn1.cms.Attribute>IdCounterSignatureCreator. getAttribute(FileToBeSigned<Information> fileToBeSigned, CadesSignature signature)
protected byte[]
IdAaEtsArchiveTimeStampV2Creator. getDigestToSign(CadesSignature signature, String digestAlgName)
protected byte[]
IdAaEtsArchiveTimeStampV3Creator. getDigestToSign(CadesSignature signature, String digestAlgName)
protected byte[]
IdAaEtsEscTimeStampCreator. getDigestToSign(CadesSignature signature, String digestAlgName)
protected byte[]
IdAaSignatureTimeStampCreator. getDigestToSign(CadesSignature signature, String digestAlgName)
protected List<Certificate>
IdAaEtsAttrCertificateRefsCreator. otherCertificatesToExclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> certificatesInPath, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature, List<Certificate> certificates)
List<Certificate>
IdAaEtsCertValuesCreator. otherCertificatesToExclude(CertificateCollection certificateCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
protected List<Certificate>
IdAaEtsAttrCertificateRefsCreator. otherCertificatesToInclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature, List<Certificate> certificates)
Set<Certificate>
IdAaEtsCertValuesCreator. otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<CRL>
IdAaEtsRevocationRefsCreator. otherCRLsToExclude(CRLRevocationInformation crlCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<CRL>
IdAaEtsRevocationValuesCreator. otherCRLsToExclude(CRLRevocationInformation crlCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<CRL>
IdAaEtsRevocationRefsCreator. otherCRLsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, CRLRevocationInformation crlCollection, List<CRL> certpathCRLs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<CRL>
IdAaEtsRevocationValuesCreator. otherCRLsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, CRLRevocationInformation crlCollection, List<CRL> certpathCRLs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
IdAaEtsRevocationRefsCreator. otherOCSPsToExclude(OCSPRevocationInformation crlCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
IdAaEtsRevocationValuesCreator. otherOCSPsToExclude(OCSPRevocationInformation ocspCollection, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
IdAaEtsRevocationRefsCreator. otherOCSPsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, OCSPRevocationInformation ocspCollection, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> certpathOCSPs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>
IdAaEtsRevocationValuesCreator. otherOCSPsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, OCSPRevocationInformation ocspCollection, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> certpathOCSPs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature)
-
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.pades
Fields in br.ufsc.labsec.signature.conformanceVerifier.pades with type parameters of type CadesSignature Modifier and Type Field Description CompleteSigner<CadesInformation,org.bouncycastle.asn1.cms.Attribute,CadesSignature>
PadesSignatureComponent. cadesSigner
Methods in br.ufsc.labsec.signature.conformanceVerifier.pades that return types with arguments of type CadesSignature Modifier and Type Method Description CompleteSigner<CadesInformation,org.bouncycastle.asn1.cms.Attribute,CadesSignature>
PadesSignatureComponent. getCadesSigner()
Retorna um assinador CAdESConstructor parameters in br.ufsc.labsec.signature.conformanceVerifier.pades with type arguments of type CadesSignature Constructor Description PadesSignatureImp(Application application, CompleteSigner<CadesInformation,org.bouncycastle.asn1.cms.Attribute,CadesSignature> signer, FileToBeSigned<? extends CadesInformation> fileToBeSigned)
Construtor -
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.receipt
Constructor parameters in br.ufsc.labsec.signature.conformanceVerifier.receipt with type arguments of type CadesSignature Constructor Description ReceiptBundle(SignatureContainer<CadesSignature> receipt, SignatureContainer<CadesSignature> request)
-
Uses of CadesSignature in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.CAdESProfiles
Methods in br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.CAdESProfiles with parameters of type CadesSignature Modifier and Type Method Description boolean
CAdESBProfile. defineProfile(CadesSignature signature)
boolean
CAdESLTAProfile. defineProfile(CadesSignature signature)
boolean
CAdESLTProfile. defineProfile(CadesSignature signature)
boolean
CAdESTProfile. defineProfile(CadesSignature signature)
boolean
CAdESLTAProfile. hasLongTermAvailability(CadesSignature signature)
boolean
CAdESLTProfile. hasRevocationValuesInLongTermValidation(CadesSignature signature)
boolean
CAdESBProfile. isBasicSignature(CadesSignature signature)
boolean
CAdESTProfile. providesTrustedTime(CadesSignature signature)