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 Object
clone()
String
getAlgorithm()
Retorna o algoritmo de hashbyte[]
getCertificateDigest()
Retorna o valor de hash do certificadoElement
getEncoded(Document document, String identifier)
String
getName()
Retorna o nome do emissorBigInteger
getSerialNumber()
Retorna o número de sérieboolean
match(Certificate certificate)
-
Constructor Details
-
CertID
public CertID(Certificate certificate, String digestAlgorithm) throws NoSuchAlgorithmException, IOException- Throws:
NoSuchAlgorithmException
IOException
-
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:
match
in interfaceorg.bouncycastle.util.Selector<Certificate>
-
clone
- Specified by:
clone
in interfaceorg.bouncycastle.util.Selector<Certificate>
- Overrides:
clone
in classObject
-