org.bouncycastle.asn1.DERIA5String Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-lts8on Show documentation
Show all versions of bcprov-lts8on Show documentation
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.7 for Java 8 and later.
package org.bouncycastle.asn1;
/**
* DER IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.
*
* Explicit character set escape sequences are not allowed.
*
*/
public class DERIA5String
extends ASN1IA5String
{
/**
* Basic constructor - without validation.
* @param string the base string to use..
*/
public DERIA5String(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 an IA5String.
*/
public DERIA5String(String string, boolean validate)
{
super(string, validate);
}
DERIA5String(byte[] contents, boolean clone)
{
super(contents, clone);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy