OcspResponse Class — netty Architecture
Architecture documentation for the OcspResponse class in OcspResponse.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5669e543_e2cd_a481_b1d5_71cccff20a27["OcspResponse"] 74f335f8_ae51_b520_6299_5e0defc872ca["OcspResponse.java"] 5669e543_e2cd_a481_b1d5_71cccff20a27 -->|defined in| 74f335f8_ae51_b520_6299_5e0defc872ca 9f4ac39a_9331_2b67_953c_29105c356da9["OcspResponse()"] 5669e543_e2cd_a481_b1d5_71cccff20a27 -->|method| 9f4ac39a_9331_2b67_953c_29105c356da9 790e1bee_cf36_1a16_e645_8746f1608b3d["Status()"] 5669e543_e2cd_a481_b1d5_71cccff20a27 -->|method| 790e1bee_cf36_1a16_e645_8746f1608b3d fb7e9b6c_2cb8_d308_eaf2_835a16cb0d81["Date()"] 5669e543_e2cd_a481_b1d5_71cccff20a27 -->|method| fb7e9b6c_2cb8_d308_eaf2_835a16cb0d81 d6693128_4f0a_e80f_fbcc_f0378c87553c["String()"] 5669e543_e2cd_a481_b1d5_71cccff20a27 -->|method| d6693128_4f0a_e80f_fbcc_f0378c87553c
Relationship Graph
Source Code
handler-ssl-ocsp/src/main/java/io/netty/handler/ssl/ocsp/OcspResponse.java lines 22–70
public class OcspResponse {
private final Status status;
private final Date thisUpdate;
private final Date nextUpdate;
public OcspResponse(Status status, Date thisUpdate, Date nextUpdate) {
this.status = checkNotNull(status, "Status");
this.thisUpdate = checkNotNull(thisUpdate, "ThisUpdate");
this.nextUpdate = checkNotNull(nextUpdate, "NextUpdate");
}
public Status status() {
return status;
}
public Date thisUpdate() {
return thisUpdate;
}
public Date nextUpdate() {
return nextUpdate;
}
@Override
public String toString() {
return "OcspResponse{" +
"status=" + status +
", thisUpdate=" + thisUpdate +
", nextUpdate=" + nextUpdate +
'}';
}
public enum Status {
/**
* Certificate is valid
*/
VALID,
/**
* Certificate is revoked
*/
REVOKED,
/**
* Certificate status is unknown
*/
UNKNOWN
}
}
Source
Frequently Asked Questions
What is the OcspResponse class?
OcspResponse is a class in the netty codebase, defined in handler-ssl-ocsp/src/main/java/io/netty/handler/ssl/ocsp/OcspResponse.java.
Where is OcspResponse defined?
OcspResponse is defined in handler-ssl-ocsp/src/main/java/io/netty/handler/ssl/ocsp/OcspResponse.java at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free