Package org.bouncycastle2.asn1

Examples of org.bouncycastle2.asn1.DERSequence


        ASN1EncodableVector  v = new ASN1EncodableVector();

        v.add(certId);
        v.add(new DERTaggedObject(0, certValue));

        return new DERSequence(v);
    }
View Full Code Here


        if (bagAttributes != null)
        {
            v.add(bagAttributes);
        }

        return new DERSequence(v);
    }
View Full Code Here

        if (parametersDefined)
        {
            v.add(parameters);
        }

        return new DERSequence(v);
    }
View Full Code Here

        ASN1EncodableVector  v = new ASN1EncodableVector();

        v.add(iv);
        v.add(iterations);

        return new DERSequence(v);
    }
View Full Code Here

        if (!trailerField.equals(DEFAULT_TRAILER_FIELD))
        {
            v.add(new DERTaggedObject(true, 3, trailerField));
        }
       
        return new DERSequence(v);
    }
View Full Code Here

        if (maximum != null)
        {
            v.add(new DERTaggedObject(false, 1, maximum));
        }

        return new DERSequence(v);
    }
View Full Code Here

        if (attributes != null)
        {
            v.add(new DERTaggedObject(false, 0, attributes));
        }
       
        return new DERSequence(v);
    }
View Full Code Here

        ASN1EncodableVector accessDescription  = new ASN1EncodableVector();
       
        accessDescription.add(accessMethod);
        accessDescription.add(accessLocation);

        return new DERSequence(accessDescription);
    }
View Full Code Here

        BigInteger  r,
        BigInteger  s)
        throws IOException
    {
        DERInteger[] rs = new DERInteger[]{ new DERInteger(r), new DERInteger(s) };
        return new DERSequence(rs).getEncoded(ASN1Encodable.DER);
    }
View Full Code Here

     * GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
     * </pre>
     */
    public DERObject toASN1Object()
    {
        return new DERSequence(names);
    }
View Full Code Here

TOP

Related Classes of org.bouncycastle2.asn1.DERSequence

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.