01: package org.bouncycastle.asn1.x509;
02:
03: import org.bouncycastle.asn1.DERInteger;
04:
05: import java.math.BigInteger;
06:
07: /**
08: * The CRLNumber object.
09: * <pre>
10: * CRLNumber::= INTEGER(0..MAX)
11: * </pre>
12: */
13: public class CRLNumber extends DERInteger {
14:
15: public CRLNumber(BigInteger number) {
16: super (number);
17: }
18:
19: public BigInteger getCRLNumber() {
20: return getPositiveValue();
21: }
22:
23: public String toString() {
24: return "CRLNumber: " + getCRLNumber();
25: }
26: }
|