All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.asn1.DERNumericString Maven / Gradle / Ivy

Go to download

The Long Term Stable (LTS) Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains the JCA/JCE provider and low-level API for the BC LTS version 2.73.4 for Java 8 and later.

There is a newer version: 2.73.6
Show newest version
package org.bouncycastle.asn1;

/**
 * DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.
 * ASN.1 NUMERIC-STRING object.
 * 

* This is an ASCII string of characters {0,1,2,3,4,5,6,7,8,9} + space. *

* See X.680 section 37.2. *

* Explicit character set escape sequences are not allowed. */ public class DERNumericString extends ASN1NumericString { /** * Basic constructor - without validation.. */ public DERNumericString(String string) { this(string, false); } /** * Constructor with optional validation. * * @param string the base string to wrap. * @param validate whether or not to check the string. * @throws IllegalArgumentException if validate is true and the string * contains characters that should not be in a NumericString. */ public DERNumericString(String string, boolean validate) { super(string, validate); } DERNumericString(byte[] contents, boolean clone) { super(contents, clone); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy