Class Revoked

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class Revoked
    extends SpecificRecordBase implements SpecificRecord
                        
    • Constructor Detail

      • Revoked

        Revoked()
        Default constructor.
      • Revoked

        Revoked(String reason, Integer certificateIndex)
        All-args constructor.
        Parameters:
        reason - The reason the revocation check failed.
        certificateIndex - The index of the certificate in the chain which failed the revocation check.
    • Method Detail

      • setReason

         void setReason(String value)

        Sets the value of the 'reason' field. The reason the revocation check failed.

        Parameters:
        value - the value to set.
      • getCertificateIndex

         int getCertificateIndex()

        Gets the value of the 'certificateIndex' field.

      • setCertificateIndex

         void setCertificateIndex(int value)

        Sets the value of the 'certificateIndex' field. The index of the certificate in the chain which failed the revocation check.

        Parameters:
        value - the value to set.
      • getEncoder

         static BinaryMessageEncoder<Revoked> getEncoder()

        Return the BinaryMessageEncoder instance used by this class.

      • getDecoder

         static BinaryMessageDecoder<Revoked> getDecoder()

        Return the BinaryMessageDecoder instance used by this class.

      • createDecoder

         static BinaryMessageDecoder<Revoked> createDecoder(SchemaStore resolver)

        Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore.

        Parameters:
        resolver - a SchemaStore used to find schemas by fingerprint
      • fromByteBuffer

         static Revoked fromByteBuffer(ByteBuffer b)

        Deserializes a Revoked from a ByteBuffer.

        Parameters:
        b - a byte buffer holding serialized data for an instance of this class
      • newBuilder

         static Revoked.Builder newBuilder(Revoked other)

        Creates a new Revoked RecordBuilder by copying an existing Revoked instance.

        Parameters:
        other - The existing instance to copy.