Home
last modified time | relevance | path

Searched refs:footer (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/provider/
DX509Factory.java564 StringBuffer footer = new StringBuffer("-"); in readOneBlock() local
572 if (next != '\r') footer.append((char)next); in readOneBlock()
575 checkHeaderFooter(header.toString(), footer.toString()); in readOneBlock()
583 String footer) throws IOException { in checkHeaderFooter() argument
588 if (footer.length() < 14 || !footer.startsWith("-----END ") || in checkHeaderFooter()
589 !footer.endsWith("-----")) { in checkHeaderFooter()
590 throw new IOException("Illegal footer: " + footer); in checkHeaderFooter()
593 String footerType = footer.substring(9, footer.length()-5); in checkHeaderFooter()
596 header + " " + footer); in checkHeaderFooter()