Class CertID
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.schema.CertID
- All Implemented Interfaces:
Cloneable, org.bouncycastle.util.Selector<Certificate>
Esta classe engloba informações sobre um certificado
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Retorna o algoritmo de hashbyte[]Retorna o valor de hash do certificadogetEncoded(Document document, String identifier) getName()Retorna o nome do emissorRetorna o número de sériebooleanmatch(Certificate certificate)
-
Constructor Details
-
CertID
public CertID(Certificate certificate, String digestAlgorithm) throws NoSuchAlgorithmException, IOException - Throws:
NoSuchAlgorithmExceptionIOException
-
CertID
-
-
Method Details
-
getEncoded
-
getName
-
getSerialNumber
-
getAlgorithm
-
getCertificateDigest
public byte[] getCertificateDigest()Retorna o valor de hash do certificado- Returns:
- O hash do certificado
-
match
- Specified by:
matchin interfaceorg.bouncycastle.util.Selector<Certificate>
-
clone
- Specified by:
clonein interfaceorg.bouncycastle.util.Selector<Certificate>- Overrides:
clonein classObject
-