コード例 #1
0
 public Template() {
   seqt = new SEQUENCE.Template();
   seqt.addElement(ANY.getTemplate());
   seqt.addElement(INTEGER.getTemplate());
 }
コード例 #2
0
    public ASN1Value decode(Tag implicitTag, InputStream istream)
        throws InvalidBERException, IOException {
      SEQUENCE seq = (SEQUENCE) seqt.decode(implicitTag, istream);

      return new GetCert((ANY) seq.elementAt(0), (INTEGER) seq.elementAt(1));
    }