diff options
Diffstat (limited to 'crypto/src/asn1/BerSequence.cs')
-rw-r--r-- | crypto/src/asn1/BerSequence.cs | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/crypto/src/asn1/BerSequence.cs b/crypto/src/asn1/BerSequence.cs index 70b43fc79..55c93a72e 100644 --- a/crypto/src/asn1/BerSequence.cs +++ b/crypto/src/asn1/BerSequence.cs @@ -5,47 +5,41 @@ namespace Org.BouncyCastle.Asn1 { public static new readonly BerSequence Empty = new BerSequence(); - public static new BerSequence FromVector( - Asn1EncodableVector v) + public static new BerSequence FromVector(Asn1EncodableVector elementVector) { - return v.Count < 1 ? Empty : new BerSequence(v); + return elementVector.Count < 1 ? Empty : new BerSequence(elementVector); } /** * create an empty sequence */ public BerSequence() + : base() { } /** * create a sequence containing one object */ - public BerSequence( - Asn1Encodable obj) - : base(obj) + public BerSequence(Asn1Encodable element) + : base(element) { } - public BerSequence( - params Asn1Encodable[] v) - : base(v) + public BerSequence(params Asn1Encodable[] elements) + : base(elements) { } /** * create a sequence containing a vector of objects. */ - public BerSequence( - Asn1EncodableVector v) - : base(v) + public BerSequence(Asn1EncodableVector elementVector) + : base(elementVector) { } - /* - */ - internal override void Encode( - DerOutputStream derOut) + internal override void Encode(DerOutputStream derOut) { if (derOut is Asn1OutputStream || derOut is BerOutputStream) { |