src/java.base/share/classes/sun/security/ssl/CertStatusReqItemV2.java
changeset 47471 304ef03403b1
parent 47216 71c04702a3d5
equal deleted inserted replaced
47470:359c604930af 47471:304ef03403b1
   143      * Return the length of this {@code CertStatusReqItemV2} in its encoded form
   143      * Return the length of this {@code CertStatusReqItemV2} in its encoded form
   144      *
   144      *
   145      * @return the encoded length of this {@code CertStatusReqItemV2}
   145      * @return the encoded length of this {@code CertStatusReqItemV2}
   146      */
   146      */
   147     int length() {
   147     int length() {
   148         // The length is the the status type (1 byte) + the request length
   148         // The length is the status type (1 byte) + the request length
   149         // field (2 bytes) + the StatusRequest data length.
   149         // field (2 bytes) + the StatusRequest data length.
   150         return request.length() + 3;
   150         return request.length() + 3;
   151     }
   151     }
   152 
   152 
   153     /**
   153     /**