Record Class AttributeCertificateAuthorityValidator
java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.attrcert.AttributeCertificateAuthorityValidator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aAttributeCertificateAuthorityValidatorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthorityOid(Object certificate, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) voidaddAuthorityOid(String cnpj, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) database()Returns the value of thedatabaserecord component.final booleanIndicates whether some other object is "equal to" this one.Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> getAuthorityOids(String cnpj) final inthashCode()Returns a hash code value for this object.booleanisAttributeAllowed(String cnpj, org.bouncycastle.asn1.ASN1ObjectIdentifier oid) voidremoveAuthorityOid(Object certificate) voidremoveAuthorityOid(Object certificate, String oid) voidremoveAuthorityOid(String cnpj) voidremoveAuthorityOid(String cnpj, String oid) final StringtoString()Returns a string representation of this record class.voidupdateAuthorityOids(String cnpj, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids) voidupdateAuthorityOids(X509Certificate certificate, Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> oids)
-
Constructor Details
-
AttributeCertificateAuthorityValidator
Creates an instance of aAttributeCertificateAuthorityValidatorrecord class.- Parameters:
database- the value for thedatabaserecord component
-
-
Method Details
-
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
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-