Class RevocationCheckRequest.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class RevocationCheckRequest.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for RevocationCheckRequest instances.

    • Constructor Detail

    • Method Detail

      • getCertificates

         List<String> getCertificates()

        Gets the value of the 'certificates' field. A list of certificates corresponding to a certificate chain (in PEM format) to check for revocation.

      • setCertificates

         RevocationCheckRequest.Builder setCertificates(List<String> value)

        Sets the value of the 'certificates' field. A list of certificates corresponding to a certificate chain (in PEM format) to check for revocation.

        Parameters:
        value - The value of 'certificates'.
      • getTrustedCertificates

         List<String> getTrustedCertificates()

        Gets the value of the 'trustedCertificates' field. A list of trusted certificates (in PEM format).

      • getMode

         RevocationMode getMode()

        Gets the value of the 'mode' field. How strictly to check for revocation. SOFT_FAIL The revocation check will succeed if the revocation status cannot be determined under certain circumstances. See java.security.cert.PKIXRevocationChecker.Option.SOFT_FAIL java doc for more details. Opposite of SOFT_FAIL - i.e. most rigorous check. Among other things, this check requires that CRL checking URL is available on every level of certificate chain.

      • setMode

         RevocationCheckRequest.Builder setMode(RevocationMode value)

        Sets the value of the 'mode' field. How strictly to check for revocation. SOFT_FAIL The revocation check will succeed if the revocation status cannot be determined under certain circumstances. See java.security.cert.PKIXRevocationChecker.Option.SOFT_FAIL java doc for more details. Opposite of SOFT_FAIL - i.e. most rigorous check. Among other things, this check requires that CRL checking URL is available on every level of certificate chain.

        Parameters:
        value - The value of 'mode'.
      • hasCertificates

         boolean hasCertificates()

        Checks whether the 'certificates' field has been set. A list of certificates corresponding to a certificate chain (in PEM format) to check for revocation.

      • hasTrustedCertificates

         boolean hasTrustedCertificates()

        Checks whether the 'trustedCertificates' field has been set. A list of trusted certificates (in PEM format).

      • hasMode

         boolean hasMode()

        Checks whether the 'mode' field has been set. How strictly to check for revocation. SOFT_FAIL The revocation check will succeed if the revocation status cannot be determined under certain circumstances. See java.security.cert.PKIXRevocationChecker.Option.SOFT_FAIL java doc for more details. Opposite of SOFT_FAIL - i.e. most rigorous check. Among other things, this check requires that CRL checking URL is available on every level of certificate chain.

      • clearMode

         RevocationCheckRequest.Builder clearMode()

        Clears the value of the 'mode' field. How strictly to check for revocation. SOFT_FAIL The revocation check will succeed if the revocation status cannot be determined under certain circumstances. See java.security.cert.PKIXRevocationChecker.Option.SOFT_FAIL java doc for more details. Opposite of SOFT_FAIL - i.e. most rigorous check. Among other things, this check requires that CRL checking URL is available on every level of certificate chain.