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.
-
-
Field Summary
Fields Modifier and Type Field Description public List<String>
certificates
public List<String>
trustedCertificates
public RevocationMode
mode
-
Method Summary
Modifier and Type Method Description List<String>
getCertificates()
Gets the value of the 'certificates' field. RevocationCheckRequest.Builder
setCertificates(List<String> value)
Sets the value of the 'certificates' field. List<String>
getTrustedCertificates()
Gets the value of the 'trustedCertificates' field. RevocationCheckRequest.Builder
setTrustedCertificates(List<String> value)
Sets the value of the 'trustedCertificates' field. RevocationMode
getMode()
Gets the value of the 'mode' field. RevocationCheckRequest.Builder
setMode(RevocationMode value)
Sets the value of the 'mode' field. boolean
hasCertificates()
Checks whether the 'certificates' field has been set. RevocationCheckRequest.Builder
clearCertificates()
Clears the value of the 'certificates' field. boolean
hasTrustedCertificates()
Checks whether the 'trustedCertificates' field has been set. RevocationCheckRequest.Builder
clearTrustedCertificates()
Clears the value of the 'trustedCertificates' field. boolean
hasMode()
Checks whether the 'mode' field has been set. RevocationCheckRequest.Builder
clearMode()
Clears the value of the 'mode' field. RevocationCheckRequest
build()
-
-
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).
-
setTrustedCertificates
RevocationCheckRequest.Builder setTrustedCertificates(List<String> value)
Sets the value of the 'trustedCertificates' field. A list of trusted certificates (in PEM format).
- Parameters:
value
- The value of 'trustedCertificates'.
-
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.
-
clearCertificates
RevocationCheckRequest.Builder clearCertificates()
Clears the value of the 'certificates' field. 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).
-
clearTrustedCertificates
RevocationCheckRequest.Builder clearTrustedCertificates()
Clears the value of the 'trustedCertificates' field. 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.
-
build
RevocationCheckRequest build()
-
-
-
-