org.bouncycastle.asn1.ASN1Tag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-debug-jdk15to18 Show documentation
Show all versions of bcprov-debug-jdk15to18 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for Java 1.8 and later with debug enabled.
package org.bouncycastle.asn1;
final class ASN1Tag
{
static ASN1Tag create(int tagClass, int tagNumber)
{
return new ASN1Tag(tagClass, tagNumber);
}
private final int tagClass;
private final int tagNumber;
private ASN1Tag(int tagClass, int tagNumber)
{
this.tagClass = tagClass;
this.tagNumber = tagNumber;
}
int getTagClass()
{
return tagClass;
}
int getTagNumber()
{
return tagNumber;
}
}