File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
33using System . IO ;
4- using System . Linq ;
54using System . Numerics ;
65using System . Security . Cryptography ;
76using System . Text ;
@@ -676,14 +675,6 @@ public static Asn1Builder Create() {
676675 /// </summary>
677676 /// <param name="rawData">ASN.1-encoded data to initialize the builder from.</param>
678677 /// <returns>ASN.1 Builder.</returns>
679- public static Asn1Builder Create ( IEnumerable < Byte > rawData ) {
680- return Create ( rawData . ToArray ( ) . AsSpan ( ) ) ;
681- }
682- /// <summary>
683- /// Creates a default instance of <strong>Asn1Builder</strong> class from existing ASN.1-encoded data.
684- /// </summary>
685- /// <param name="rawData">ASN.1-encoded data to initialize the builder from.</param>
686- /// <returns>ASN.1 Builder.</returns>
687678 public static Asn1Builder Create ( ReadOnlySpan < Byte > rawData ) {
688679 var builder = new Asn1Builder ( ) ;
689680 builder . _rawData . Add ( new ReadOnlyMemory < Byte > ( rawData . ToArray ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments