Searched refs:certificateBuffer (Results 1 – 1 of 1) sorted by relevance
221 private static ByteBuffer getNextDEREncodedCertificateBlock(ByteBuffer certificateBuffer) in getNextDEREncodedCertificateBlock() argument223 if (certificateBuffer == null) { in getNextDEREncodedCertificateBlock()228 if (certificateBuffer.remaining() < BEGIN_CERT_HEADER.length) { in getNextDEREncodedCertificateBlock()229 return certificateBuffer; in getNextDEREncodedCertificateBlock()231 certificateBuffer.mark(); in getNextDEREncodedCertificateBlock()233 if (certificateBuffer.get() != BEGIN_CERT_HEADER[i]) { in getNextDEREncodedCertificateBlock()234 certificateBuffer.reset(); in getNextDEREncodedCertificateBlock()235 return certificateBuffer; in getNextDEREncodedCertificateBlock()239 while (certificateBuffer.hasRemaining()) { in getNextDEREncodedCertificateBlock()240 char encodedChar = (char) certificateBuffer.get(); in getNextDEREncodedCertificateBlock()[all …]