Share via


PKIXRevocationChecker.OcspResponses Property

Definition

Gets the OCSP responses. -or- Sets the OCSP responses.

public virtual System.Collections.Generic.IDictionary<Java.Security.Cert.X509Certificate,byte[]>? OcspResponses { [Android.Runtime.Register("getOcspResponses", "()Ljava/util/Map;", "GetGetOcspResponsesHandler", ApiSince=24)] get; [Android.Runtime.Register("setOcspResponses", "(Ljava/util/Map;)V", "GetSetOcspResponses_Ljava_util_Map_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getOcspResponses", "()Ljava/util/Map;", "GetGetOcspResponsesHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setOcspResponses", "(Ljava/util/Map;)V", "GetSetOcspResponses_Ljava_util_Map_Handler", ApiSince=24)>]
member this.OcspResponses : System.Collections.Generic.IDictionary<Java.Security.Cert.X509Certificate, byte[]> with get, set

Property Value

a map of OCSP responses. Each key is an X509Certificate that maps to the corresponding DER-encoded OCSP response for that certificate. A deep copy of the map is returned to protect against subsequent modification. Returns an empty map if no responses have been specified.

Attributes

Remarks

Property getter documentation:

Gets the OCSP responses. These responses are used to determine the revocation status of the specified certificates when OCSP is used.

Java documentation for java.security.cert.PKIXRevocationChecker.getOcspResponses().

Property setter documentation:

Sets the OCSP responses. These responses are used to determine the revocation status of the specified certificates when OCSP is used.

Java documentation for java.security.cert.PKIXRevocationChecker.setOcspResponses(java.util.Map<java.security.cert.X509Certificate, byte[]>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to