/** * For constructed field, return a parser for its content. * * @return A parser for the construct. * @throws IOException if DER cannot be parsed. */ public DerParser getParser() throws IOException { if (!isConstructed()) { throw new IOException("Invalid DER: can't parse primitive entity"); //$NON-NLS-1$ } return new DerParser(value); }
/** * For constructed field, return a parser for its content. * * @return A parser for the construct. * @throws IOException if DER cannot be parsed. */ public DerParser getParser() throws IOException { if (!isConstructed()) { throw new IOException("Invalid DER: can't parse primitive entity"); //$NON-NLS-1$ } return new DerParser(value); }
DerParser parser = new DerParser(keyInPkcs1);
DerParser parser = new DerParser(keyInPkcs1);