Example #1
0
 /**
  * return a Visible string from a tagged object.
  *
  * @param obj the tagged object holding the object we want
  * @param explicitly true if the object is meant to be explicitly
  *              tagged false otherwise.
  * @exception ArgumentException if the tagged object cannot
  *               be converted.
  */
 public static DerVisibleString GetInstance(
     Asn1TaggedObject obj,
     bool explicitly)
 {
     return(GetInstance(obj.GetObject()));
 }
Example #2
0
 /**
  * return an object Identifier from a tagged object.
  *
  * @param obj the tagged object holding the object we want
  * @param explicitly true if the object is meant to be explicitly
  *              tagged false otherwise.
  * @exception ArgumentException if the tagged object cannot
  *               be converted.
  */
 public static DerObjectIdentifier GetInstance(
     Asn1TaggedObject obj,
     bool explicitly)
 {
     return(GetInstance(obj.GetObject()));
 }