Class CertID
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.schema.CertID
- All Implemented Interfaces:
Cloneable,org.bouncycastle.util.Selector<Certificate>
public class CertID extends Object implements org.bouncycastle.util.Selector<Certificate>
Esta classe engloba informações sobre um certificado
-
Constructor Summary
Constructors Constructor Description CertID(Certificate certificate, String digestAlgorithm)CertID(Element element) -
Method Summary
Modifier and Type Method Description Objectclone()StringgetAlgorithm()Retorna o algoritmo de hashbyte[]getCertificateDigest()Retorna o valor de hash do certificadoElementgetEncoded(Document document, String identifier)StringgetName()Retorna o nome do emissorBigIntegergetSerialNumber()Retorna 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
Retorna o nome do emissor- Returns:
- O nome do emissor
-
getSerialNumber
Retorna o número de série- Returns:
- O número de série
-
getAlgorithm
Retorna o algoritmo de hash- Returns:
- O algoritmo
-
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
-