Class AttributeCertificateAuthorityValidator
java.lang.Object
br.ufsc.labsec.signature.attrcert.AttributeCertificateAuthorityValidator
public class AttributeCertificateAuthorityValidator extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttributeCertificateAuthorityValidator.AttributeNotAllowedException
-
Constructor Summary
Constructors Constructor Description AttributeCertificateAuthorityValidator(Database database)
-
Method Summary
Modifier and Type Method Description void
addAuthorityOid(Object certificate, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids)
void
addAuthorityOid(String cnpj, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids)
Map<String,Set<org.bouncycastle.asn1.ASN1ObjectIdentifier>>
getAuthorityOids()
Set<org.bouncycastle.asn1.ASN1ObjectIdentifier>
getAuthorityOids(String cnpj)
Database
getDatabase()
boolean
isAttributeAllowed(String cnpj, org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
void
removeAuthorityOid(Object certificate)
void
removeAuthorityOid(Object certificate, String oid)
void
removeAuthorityOid(String cnpj)
void
removeAuthorityOid(String cnpj, String oid)
void
updateAuthorityOids(String cnpj, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids)
void
updateAuthorityOids(X509Certificate certificate, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids)
-
Constructor Details
-
AttributeCertificateAuthorityValidator
-
-
Method Details
-
getDatabase
-
addAuthorityOid
public void addAuthorityOid(String cnpj, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) throws DatabaseException- Throws:
DatabaseException
-
addAuthorityOid
public void addAuthorityOid(Object certificate, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) throws DatabaseException- Throws:
DatabaseException
-
removeAuthorityOid
-
removeAuthorityOid
-
removeAuthorityOid
-
removeAuthorityOid
-
getAuthorityOids
-
getAuthorityOids
-
updateAuthorityOids
public void updateAuthorityOids(String cnpj, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) -
updateAuthorityOids
public void updateAuthorityOids(X509Certificate certificate, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) -
isAttributeAllowed
-