init commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace Org.BouncyCastle.Asn1;
|
||||
|
||||
public class DerOctetString : Asn1OctetString
|
||||
{
|
||||
public DerOctetString(byte[] str)
|
||||
: base(str)
|
||||
{
|
||||
}
|
||||
|
||||
public DerOctetString(Asn1Encodable obj)
|
||||
: base(obj)
|
||||
{
|
||||
}
|
||||
|
||||
internal override void Encode(DerOutputStream derOut)
|
||||
{
|
||||
derOut.WriteEncoded(4, str);
|
||||
}
|
||||
|
||||
internal static void Encode(DerOutputStream derOut, byte[] bytes, int offset, int length)
|
||||
{
|
||||
derOut.WriteEncoded(4, bytes, offset, length);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user