equal
deleted
inserted
replaced
67 static final HandshakeProducer ctNetworkProducer = |
67 static final HandshakeProducer ctNetworkProducer = |
68 new CTCertStatusResponseProducer(); |
68 new CTCertStatusResponseProducer(); |
69 static final ExtensionConsumer ctOnLoadConsumer = |
69 static final ExtensionConsumer ctOnLoadConsumer = |
70 new CTCertStatusResponseConsumer(); |
70 new CTCertStatusResponseConsumer(); |
71 |
71 |
72 static final SSLStringize certStatusReqStringize = |
72 static final SSLStringizer certStatusReqStringizer = |
73 new CertStatusRequestStringize(); |
73 new CertStatusRequestStringizer(); |
74 |
74 |
75 static final HandshakeProducer chV2NetworkProducer = |
75 static final HandshakeProducer chV2NetworkProducer = |
76 new CHCertStatusReqV2Producer(); |
76 new CHCertStatusReqV2Producer(); |
77 static final ExtensionConsumer chV2OnLoadConsumer = |
77 static final ExtensionConsumer chV2OnLoadConsumer = |
78 new CHCertStatusReqV2Consumer(); |
78 new CHCertStatusReqV2Consumer(); |
80 static final HandshakeProducer shV2NetworkProducer = |
80 static final HandshakeProducer shV2NetworkProducer = |
81 new SHCertStatusReqV2Producer(); |
81 new SHCertStatusReqV2Producer(); |
82 static final ExtensionConsumer shV2OnLoadConsumer = |
82 static final ExtensionConsumer shV2OnLoadConsumer = |
83 new SHCertStatusReqV2Consumer(); |
83 new SHCertStatusReqV2Consumer(); |
84 |
84 |
85 static final SSLStringize certStatusReqV2Stringize = |
85 static final SSLStringizer certStatusReqV2Stringizer = |
86 new CertStatusRequestsStringize(); |
86 new CertStatusRequestsStringizer(); |
87 |
87 |
88 static final SSLStringize certStatusRespStringize = |
88 static final SSLStringizer certStatusRespStringizer = |
89 new CertStatusRespStringize(); |
89 new CertStatusRespStringizer(); |
90 |
90 |
91 /** |
91 /** |
92 * The "status_request" extension. |
92 * The "status_request" extension. |
93 * |
93 * |
94 * RFC6066 defines the TLS extension,"status_request" (type 0x5), |
94 * RFC6066 defines the TLS extension,"status_request" (type 0x5), |
212 "<empty>" : statusResponse.toString(); |
212 "<empty>" : statusResponse.toString(); |
213 } |
213 } |
214 } |
214 } |
215 |
215 |
216 private static final |
216 private static final |
217 class CertStatusRequestStringize implements SSLStringize { |
217 class CertStatusRequestStringizer implements SSLStringizer { |
218 @Override |
218 @Override |
219 public String toString(ByteBuffer buffer) { |
219 public String toString(ByteBuffer buffer) { |
220 try { |
220 try { |
221 return (new CertStatusRequestSpec(buffer)).toString(); |
221 return (new CertStatusRequestSpec(buffer)).toString(); |
222 } catch (IOException ioe) { |
222 } catch (IOException ioe) { |
225 } |
225 } |
226 } |
226 } |
227 } |
227 } |
228 |
228 |
229 private static final |
229 private static final |
230 class CertStatusRespStringize implements SSLStringize { |
230 class CertStatusRespStringizer implements SSLStringizer { |
231 @Override |
231 @Override |
232 public String toString(ByteBuffer buffer) { |
232 public String toString(ByteBuffer buffer) { |
233 try { |
233 try { |
234 return (new CertStatusResponseSpec(buffer)).toString(); |
234 return (new CertStatusResponseSpec(buffer)).toString(); |
235 } catch (IOException ioe) { |
235 } catch (IOException ioe) { |
873 } |
873 } |
874 } |
874 } |
875 } |
875 } |
876 |
876 |
877 private static final |
877 private static final |
878 class CertStatusRequestsStringize implements SSLStringize { |
878 class CertStatusRequestsStringizer implements SSLStringizer { |
879 @Override |
879 @Override |
880 public String toString(ByteBuffer buffer) { |
880 public String toString(ByteBuffer buffer) { |
881 try { |
881 try { |
882 return (new CertStatusRequestV2Spec(buffer)).toString(); |
882 return (new CertStatusRequestV2Spec(buffer)).toString(); |
883 } catch (IOException ioe) { |
883 } catch (IOException ioe) { |