Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.asn1.esf;
 
 
    extends ASN1Object
    private ASN1Sequence          commitmentTypeQualifier;
    
    private CommitmentTypeIndication(
        ASN1Sequence seq)
    {
        if (seq.size() > 1)
        {
             = (ASN1Sequence)seq.getObjectAt(1);
        }
    }
        ASN1ObjectIdentifier commitmentTypeId)
    {
        this. = commitmentTypeId;
    }
        ASN1ObjectIdentifier commitmentTypeId,
        ASN1Sequence        commitmentTypeQualifier)
    {
        this. = commitmentTypeId;
        this. = commitmentTypeQualifier;
    }
    public static CommitmentTypeIndication getInstance(
        Object obj)
    {
        if (obj == null || obj instanceof CommitmentTypeIndication)
        {
            return (CommitmentTypeIndication)obj;
        }
        return new CommitmentTypeIndication(ASN1Sequence.getInstance(obj));
    }
    {
        return ;
    }
    
    {
        return ;
    }
    
    
 CommitmentTypeIndication ::= SEQUENCE {
      commitmentTypeId   CommitmentTypeIdentifier,
      commitmentTypeQualifier   SEQUENCE SIZE (1..MAX) OF
              CommitmentTypeQualifier OPTIONAL }
 
 
    public ASN1Primitive toASN1Primitive()
    {
        ASN1EncodableVector v = new ASN1EncodableVector();
        
        v.add();
        if ( != null)
        {
            v.add();
        }
        
        return new DERSequence(v);
    }
New to GrepCode? Check out our FAQ X