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

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

Go to download

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.

There is a newer version: 1.78.1
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy