-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
<Project>
<PropertyGroup>
<AsnXml />
+ <_AsnXmlDiffCmd>%24%28command -v diff%29 -q -a</_AsnXmlDiffCmd>
+ <_AsnXmlDiffCmd Condition="$([MSBuild]::IsOsPlatform('windows')) == 'true'">$(SystemRoot)\System32\fc.exe /a</_AsnXmlDiffCmd>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)asn.xsd">
</None>
</ItemGroup>
- <!-- MSBuild for .NET Core doesn't support XslTransform at this time -->
<Target Name="CompileAsn" BeforeTargets="CoreCompile"
- Condition="'$(MSBuildRuntimeType)' != 'core'"
+ Condition=" '@(AsnXml)' != '' "
Inputs="@(AsnXml);$(MSBuildThisFileDirectory)asn.xslt"
Outputs="%(Identity).cs">
- <MakeDir Directories="$(IntermediateOutputPath)asnxml" />
+ <PropertyGroup>
+ <_AsnIntermediatePath>$([MSBuild]::NormalizeDirectory('$(IntermediateOutputPath)', 'asnxml'))</_AsnIntermediatePath>
+ </PropertyGroup>
+
+ <MakeDir Directories="$(_AsnIntermediatePath)" />
<XslTransformation
XslInputPath="$(MSBuildThisFileDirectory)asn.xslt"
XmlInputPaths="@(AsnXml)"
- OutputPaths="@(AsnXml -> '$(IntermediateOutputPath)asnxml\%(filename).cs')" />
+ OutputPaths="@(AsnXml -> '$(_AsnIntermediatePath)%(filename).cs')" />
- <Exec Condition="'$(TargetOS)'=='windows'"
+ <Exec
IgnoreExitCode="true"
StandardOutputImportance="Low"
- Command="$(SystemRoot)\System32\fc.exe /a @(AsnXml -> '$(IntermediateOutputPath)asnxml\%(filename).cs') @(AsnXml -> '%(Identity).cs')">
+ Command="$(_AsnXmlDiffCmd) @(AsnXml -> '$(_AsnIntermediatePath)%(filename).cs') @(AsnXml -> '%(Identity).cs')">
<Output TaskParameter="ExitCode" ItemName="_AsnXmlDiffCode" />
</Exec>
- <!-- TODO: Call diff on Unix -->
- <ItemGroup Condition="'$(TargetOS)'!='windows'">
- <_AsnXmlDiffCode Include="1" />
- </ItemGroup>
-
<Copy
Condition="'@(_AsnXmlDiffCode)' != '0'"
- SourceFiles="@(AsnXml -> '$(IntermediateOutputPath)asnxml\%(filename).cs')"
+ SourceFiles="@(AsnXml -> '$(_AsnIntermediatePath)%(filename).cs')"
DestinationFiles="@(AsnXml -> '%(Identity).cs')" />
-
+
<Warning Condition="'@(_AsnXmlDiffCode)' != '0'" Text="AsnXml regenerated files, be sure to check them in: @(AsnXml -> '%(Identity).cs')" />
</Target>
-</Project>
+</Project>
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out OaepParamsAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out OaepParamsAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out CadesIssuerSerial decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out CadesIssuerSerial decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out CertificateChoiceAsn decoded);
+ DecodeCore(ref reader, encoded, out CertificateChoiceAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out EncapsulatedContentInfoAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out EncapsulatedContentInfoAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out EnvelopedDataAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out EnvelopedDataAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out EssCertId decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out EssCertId decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out EssCertIdV2 decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out EssCertIdV2 decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out IssuerAndSerialNumberAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out IssuerAndSerialNumberAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out KeyAgreeRecipientIdentifierAsn decoded);
+ DecodeCore(ref reader, encoded, out KeyAgreeRecipientIdentifierAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out KeyAgreeRecipientInfoAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out KeyAgreeRecipientInfoAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out KeyTransRecipientInfoAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out KeyTransRecipientInfoAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out MessageImprint decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out MessageImprint decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out OriginatorIdentifierOrKeyAsn decoded);
+ DecodeCore(ref reader, encoded, out OriginatorIdentifierOrKeyAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out OriginatorInfoAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out OriginatorInfoAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out OriginatorPublicKeyAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out OriginatorPublicKeyAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out OtherKeyAttributeAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out OtherKeyAttributeAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out PkiStatusInfo decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out PkiStatusInfo decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out PolicyInformation decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out PolicyInformation decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out PolicyQualifierInfo decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out PolicyQualifierInfo decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out RecipientEncryptedKeyAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out RecipientEncryptedKeyAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out RecipientIdentifierAsn decoded);
+ DecodeCore(ref reader, encoded, out RecipientIdentifierAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out RecipientInfoAsn decoded);
+ DecodeCore(ref reader, encoded, out RecipientInfoAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out RecipientKeyIdentifier decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out RecipientKeyIdentifier decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out Rfc3161Accuracy decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out Rfc3161Accuracy decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out Rfc3161TimeStampReq decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out Rfc3161TimeStampReq decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out Rfc3161TimeStampResp decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out Rfc3161TimeStampResp decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out Rfc3161TstInfo decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out Rfc3161TstInfo decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out SecretBagAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out SecretBagAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out SignedAttributesSet decoded);
+ DecodeCore(ref reader, encoded, out SignedAttributesSet decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out SignedDataAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out SignedDataAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, encoded, out SignerIdentifierAsn decoded);
+ DecodeCore(ref reader, encoded, out SignerIdentifierAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out SignerInfoAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out SignerInfoAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out SigningCertificateAsn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out SigningCertificateAsn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
{
AsnValueReader reader = new AsnValueReader(encoded.Span, ruleSet);
- Decode(ref reader, expectedTag, encoded, out SigningCertificateV2Asn decoded);
+ DecodeCore(ref reader, expectedTag, encoded, out SigningCertificateV2Asn decoded);
reader.ThrowIfNotEmpty();
return decoded;
}
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable SA1028 // ignore whitespace warnings for generated code