public void Write(ASN1ObjectIdentifier value) { WriteIdentifier(ASN1Class.Universal, false, ASN1UniversalTag.ObjectIdentifier); WriteLength(value.ByteLength); writer.Write(ASN1ObjectIdentifier.GetBytes(value.Identifier)); }
public void Write(ASN1ObjectIdentifier value) { WriteIdentifier(ASN1Class.Universal, false, ASN1UniversalTag.ObjectIdentifier); WriteLength(value.ByteLength); _writer.Write(ASN1ObjectIdentifier.GetBytes(value.Identifier)); }
private ASN1Object ReadObjectIdentifier(uint length) { var bytes = _reader.ReadBytes((int)length); return(new ASN1ObjectIdentifier(ASN1ObjectIdentifier.Format(bytes))); }