Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.asn1
Class ASN1Util

java.lang.Object
  |
  +--org.bouncycastle.asn1.ASN1Util

public abstract class ASN1Util
extends java.lang.Object


Constructor Summary
ASN1Util()
           
 
Method Summary
static ASN1Primitive getBaseUniversal(ASN1TaggedObject taggedObject, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Primitive getContextBaseUniversal(ASN1TaggedObject taggedObject, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Object getExplicitBaseObject(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
           
static ASN1TaggedObject getExplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
           
static ASN1Object getExplicitContextBaseObject(ASN1TaggedObject taggedObject, int tagNo)
           
static ASN1TaggedObject getExplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo)
           
static ASN1TaggedObject getImplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo, int baseTagClass, int baseTagNo)
           
static ASN1TaggedObject getImplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo, int baseTagClass, int baseTagNo)
           
static java.lang.String getTagText(ASN1TaggedObject taggedObject)
           
static java.lang.String getTagText(ASN1TaggedObjectParser taggedObjectParser)
           
static java.lang.String getTagText(int tagClass, int tagNo)
           
static ASN1Encodable parseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Encodable parseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Encodable parseExplicitBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo)
           
static ASN1TaggedObjectParser parseExplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo)
           
static ASN1Encodable parseExplicitContextBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagNo)
           
static ASN1TaggedObjectParser parseExplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagNo)
           
static ASN1TaggedObjectParser parseImplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, int baseTagClass, int baseTagNo)
           
static ASN1TaggedObjectParser parseImplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagNo, int baseTagClass, int baseTagNo)
           
static ASN1Primitive tryGetBaseUniversal(ASN1TaggedObject taggedObject, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Primitive tryGetContextBaseUniversal(ASN1TaggedObject taggedObject, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Object tryGetExplicitBaseObject(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
           
static ASN1TaggedObject tryGetExplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
           
static ASN1Object tryGetExplicitContextBaseObject(ASN1TaggedObject taggedObject, int tagNo)
           
static ASN1TaggedObject tryGetExplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo)
           
static ASN1TaggedObject tryGetImplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo, int baseTagClass, int baseTagNo)
           
static ASN1TaggedObject tryGetImplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo, int baseTagClass, int baseTagNo)
           
static ASN1Encodable tryParseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Encodable tryParseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo)
           
static ASN1Encodable tryParseExplicitBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo)
           
static ASN1TaggedObjectParser tryParseExplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo)
           
static ASN1Encodable tryParseExplicitContextBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagNo)
           
static ASN1TaggedObjectParser tryParseExplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagNo)
           
static ASN1TaggedObjectParser tryParseImplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, int baseTagClass, int baseTagNo)
           
static ASN1TaggedObjectParser tryParseImplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser, int tagNo, int baseTagClass, int baseTagNo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1Util

public ASN1Util()
Method Detail

getTagText

public static java.lang.String getTagText(ASN1TaggedObject taggedObject)

getTagText

public static java.lang.String getTagText(ASN1TaggedObjectParser taggedObjectParser)

getTagText

public static java.lang.String getTagText(int tagClass,
                                          int tagNo)

getExplicitBaseObject

public static ASN1Object getExplicitBaseObject(ASN1TaggedObject taggedObject,
                                               int tagClass,
                                               int tagNo)

getExplicitContextBaseObject

public static ASN1Object getExplicitContextBaseObject(ASN1TaggedObject taggedObject,
                                                      int tagNo)

tryGetExplicitBaseObject

public static ASN1Object tryGetExplicitBaseObject(ASN1TaggedObject taggedObject,
                                                  int tagClass,
                                                  int tagNo)

tryGetExplicitContextBaseObject

public static ASN1Object tryGetExplicitContextBaseObject(ASN1TaggedObject taggedObject,
                                                         int tagNo)

getExplicitBaseTagged

public static ASN1TaggedObject getExplicitBaseTagged(ASN1TaggedObject taggedObject,
                                                     int tagClass,
                                                     int tagNo)

getExplicitContextBaseTagged

public static ASN1TaggedObject getExplicitContextBaseTagged(ASN1TaggedObject taggedObject,
                                                            int tagNo)

tryGetExplicitBaseTagged

public static ASN1TaggedObject tryGetExplicitBaseTagged(ASN1TaggedObject taggedObject,
                                                        int tagClass,
                                                        int tagNo)

tryGetExplicitContextBaseTagged

public static ASN1TaggedObject tryGetExplicitContextBaseTagged(ASN1TaggedObject taggedObject,
                                                               int tagNo)

getImplicitBaseTagged

public static ASN1TaggedObject getImplicitBaseTagged(ASN1TaggedObject taggedObject,
                                                     int tagClass,
                                                     int tagNo,
                                                     int baseTagClass,
                                                     int baseTagNo)

getImplicitContextBaseTagged

public static ASN1TaggedObject getImplicitContextBaseTagged(ASN1TaggedObject taggedObject,
                                                            int tagNo,
                                                            int baseTagClass,
                                                            int baseTagNo)

tryGetImplicitBaseTagged

public static ASN1TaggedObject tryGetImplicitBaseTagged(ASN1TaggedObject taggedObject,
                                                        int tagClass,
                                                        int tagNo,
                                                        int baseTagClass,
                                                        int baseTagNo)

tryGetImplicitContextBaseTagged

public static ASN1TaggedObject tryGetImplicitContextBaseTagged(ASN1TaggedObject taggedObject,
                                                               int tagNo,
                                                               int baseTagClass,
                                                               int baseTagNo)

getBaseUniversal

public static ASN1Primitive getBaseUniversal(ASN1TaggedObject taggedObject,
                                             int tagClass,
                                             int tagNo,
                                             boolean declaredExplicit,
                                             int baseTagNo)

getContextBaseUniversal

public static ASN1Primitive getContextBaseUniversal(ASN1TaggedObject taggedObject,
                                                    int tagNo,
                                                    boolean declaredExplicit,
                                                    int baseTagNo)

tryGetBaseUniversal

public static ASN1Primitive tryGetBaseUniversal(ASN1TaggedObject taggedObject,
                                                int tagClass,
                                                int tagNo,
                                                boolean declaredExplicit,
                                                int baseTagNo)

tryGetContextBaseUniversal

public static ASN1Primitive tryGetContextBaseUniversal(ASN1TaggedObject taggedObject,
                                                       int tagNo,
                                                       boolean declaredExplicit,
                                                       int baseTagNo)

parseExplicitBaseTagged

public static ASN1TaggedObjectParser parseExplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                             int tagClass,
                                                             int tagNo)
                                                      throws java.io.IOException

parseExplicitContextBaseTagged

public static ASN1TaggedObjectParser parseExplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                                    int tagNo)
                                                             throws java.io.IOException

tryParseExplicitBaseTagged

public static ASN1TaggedObjectParser tryParseExplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                                int tagClass,
                                                                int tagNo)
                                                         throws java.io.IOException

tryParseExplicitContextBaseTagged

public static ASN1TaggedObjectParser tryParseExplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                                       int tagNo)
                                                                throws java.io.IOException

parseImplicitBaseTagged

public static ASN1TaggedObjectParser parseImplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                             int tagClass,
                                                             int tagNo,
                                                             int baseTagClass,
                                                             int baseTagNo)
                                                      throws java.io.IOException

parseImplicitContextBaseTagged

public static ASN1TaggedObjectParser parseImplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                                    int tagNo,
                                                                    int baseTagClass,
                                                                    int baseTagNo)
                                                             throws java.io.IOException

tryParseImplicitBaseTagged

public static ASN1TaggedObjectParser tryParseImplicitBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                                int tagClass,
                                                                int tagNo,
                                                                int baseTagClass,
                                                                int baseTagNo)
                                                         throws java.io.IOException

tryParseImplicitContextBaseTagged

public static ASN1TaggedObjectParser tryParseImplicitContextBaseTagged(ASN1TaggedObjectParser taggedObjectParser,
                                                                       int tagNo,
                                                                       int baseTagClass,
                                                                       int baseTagNo)
                                                                throws java.io.IOException

parseBaseUniversal

public static ASN1Encodable parseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser,
                                               int tagClass,
                                               int tagNo,
                                               boolean declaredExplicit,
                                               int baseTagNo)
                                        throws java.io.IOException

parseContextBaseUniversal

public static ASN1Encodable parseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser,
                                                      int tagNo,
                                                      boolean declaredExplicit,
                                                      int baseTagNo)
                                               throws java.io.IOException

tryParseBaseUniversal

public static ASN1Encodable tryParseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser,
                                                  int tagClass,
                                                  int tagNo,
                                                  boolean declaredExplicit,
                                                  int baseTagNo)
                                           throws java.io.IOException

tryParseContextBaseUniversal

public static ASN1Encodable tryParseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser,
                                                         int tagNo,
                                                         boolean declaredExplicit,
                                                         int baseTagNo)
                                                  throws java.io.IOException

parseExplicitBaseObject

public static ASN1Encodable parseExplicitBaseObject(ASN1TaggedObjectParser taggedObjectParser,
                                                    int tagClass,
                                                    int tagNo)
                                             throws java.io.IOException

parseExplicitContextBaseObject

public static ASN1Encodable parseExplicitContextBaseObject(ASN1TaggedObjectParser taggedObjectParser,
                                                           int tagNo)
                                                    throws java.io.IOException

tryParseExplicitBaseObject

public static ASN1Encodable tryParseExplicitBaseObject(ASN1TaggedObjectParser taggedObjectParser,
                                                       int tagClass,
                                                       int tagNo)
                                                throws java.io.IOException

tryParseExplicitContextBaseObject

public static ASN1Encodable tryParseExplicitContextBaseObject(ASN1TaggedObjectParser taggedObjectParser,
                                                              int tagNo)
                                                       throws java.io.IOException

Bouncy Castle Cryptography Library 1.77.0