jdk/src/share/classes/sun/security/timestamp/TimestampToken.java
changeset 18224 95b6fb2f35a0
parent 5506 202f599c92aa
child 18245 7f4796a3f93a
equal deleted inserted replaced
18223:35a5c2462991 18224:95b6fb2f35a0
     1 /*
     1 /*
     2  * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   113 
   113 
   114     public BigInteger getNonce() {
   114     public BigInteger getNonce() {
   115         return nonce;
   115         return nonce;
   116     }
   116     }
   117 
   117 
       
   118     public BigInteger getSerialNumber() {
       
   119         return serialNumber;
       
   120     }
       
   121 
   118     /*
   122     /*
   119      * Parses the timestamp token info.
   123      * Parses the timestamp token info.
   120      *
   124      *
   121      * @param timestampTokenInfo A buffer containing an ASN.1 BER encoded
   125      * @param timestampTokenInfo A buffer containing an ASN.1 BER encoded
   122      *                           TSTInfo.
   126      *                           TSTInfo.