Package codec.asn1

Examples of codec.asn1.ASN1ObjectIdentifier


     */
    public ErrorMessage(String oid, Object obj)
    {
        super(2);

        oid_ = new ASN1ObjectIdentifier(oid);

        if (oid.equals("2.1.0.2.0"))
        {
            parameter_ = new ASN1Null();
        }
View Full Code Here


     */
    public ErrorMessage()
    {
        super(2);

        oid_           = new ASN1ObjectIdentifier();
        parameter_     = new ASN1OpenType(new SampleOIDRegistry(), oid_);

        add(oid_);
        add(parameter_);
    }
View Full Code Here

     */
    public ErrorMessage(String oid, Object obj)
    {
        super(2);

        oid_ = new ASN1ObjectIdentifier(oid);

        if (oid.equals("2.1.0.2.0"))
        {
            parameter_ = new ASN1Null();
        }
View Full Code Here

     */
    public ErrorMessage()
    {
        super(2);

        oid_           = new ASN1ObjectIdentifier();
        parameter_     = new ASN1OpenType(new ErrorResolver(oid_));

        add(oid_);
        add(parameter_);
    }
View Full Code Here

     * effects are caused by modifying it.
     *
     * @return The OID.
     */
    public ASN1ObjectIdentifier getOID() {
  return new ASN1ObjectIdentifier(THIS_OID);
    }
View Full Code Here

     * type shall be used. This method calls <code>
     * setContentType(new ASN1ObjectIdentifier(DATA_OID))
     * </code>.
     */
    public void setDataContentType() {
  setContentType(new ASN1ObjectIdentifier(DATA_OID));
    }
View Full Code Here

     * Returns the OID of this structure.
     *
     * @return The OID.
     */
    public ASN1ObjectIdentifier getOID() {
  return new ASN1ObjectIdentifier(OID_);
    }
View Full Code Here

     * Returns the OID of this structure.
     *
     * @return The OID.
     */
    public ASN1ObjectIdentifier getOID() {
  return new ASN1ObjectIdentifier(THIS_OID);
    }
View Full Code Here

     * Returns The OID of this structure. PKCS#7 Data
     *
     * @return OID of this structure.
     */
    public ASN1ObjectIdentifier getOID() {
  return new ASN1ObjectIdentifier(OID_);
    }
View Full Code Here

     * type shall be used. This method calls <code>
     * setContentType(new ASN1ObjectIdentifier(DATA_OID))
     * </code>.
     */
    public void setDataContentType() {
  setContentType(new ASN1ObjectIdentifier(DATA_OID));
    }
View Full Code Here

TOP

Related Classes of codec.asn1.ASN1ObjectIdentifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.