/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Encoding/src/System/Security/Cryptography/ |
H A D | Oid.cs | 20 if (oidValue == null) in Oid() 22 oidValue = oid; in Oid() 24 this.Value = oidValue; in Oid() 52 if (oidValue == null) in FromFriendlyName() 55 return new Oid(oidValue, friendlyName, group); in FromFriendlyName() 58 public static Oid FromOidValue(String oidValue, OidGroup group) in FromOidValue() argument 60 if (oidValue == null) in FromOidValue() 61 throw new ArgumentNullException(nameof(oidValue)); in FromOidValue() 67 return new Oid(oidValue, friendlyName, group); in FromOidValue() 95 if (oidValue != null) [all …]
|
H A D | OidCollection.cs | 33 string oidValue = OidLookup.ToOid(oid, OidGroup.All, fallBackToAllGroups: false); 34 if (oidValue == null) 36 oidValue = oid; 40 if (entry.Value == oidValue)
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/cryptography/ |
H A D | oid.cs | 49 if (oidValue == null) in Oid() 50 oidValue = oid; in Oid() 51 this.Value = oidValue; in Oid() 89 if (oidValue == null) { in FromFriendlyName() 93 return new Oid(oidValue, friendlyName, group); in FromFriendlyName() 97 if (oidValue == null) { in FromOidValue() 127 if (oidValue != null) 128 m_value = oidValue; 156 if (oidValue == null) 157 oidValue = oid; [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Encoding/tests/ |
H A D | Oid.cs | 29 Oid oid = new Oid(oidValue); in LookupOidByValue_Ctor() 31 Assert.Equal(oidValue, oid.Value); in LookupOidByValue_Ctor() 41 Assert.Equal(oidValue, oid.Value); in LookupOidByFriendlyName_Ctor() 75 Oid oid = new Oid(oidValue, null); in Oid_StringString_NullFriendlyName() 77 Assert.Equal(oidValue, oid.Value); in Oid_StringString_NullFriendlyName() 107 Assert.Equal(oidValue, oid.Value); in Oid_StringString_BothSpecified() 167 Assert.Equal(oidValue, oid.Value); in LookupOidByValue_Method_HashAlgorithm() 177 Assert.Equal(oidValue, oid.Value); in LookupOidByValue_Method_EncryptionAlgorithm() 210 Assert.Equal(oidValue, oid.Value); in LookupOidByFriendlyName_Method_HashAlgorithm() 220 Assert.Equal(oidValue, oid.Value); in LookupOidByFriendlyName_Method_EncryptionAlgorithm() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/mozpkix/test-lib/ |
H A D | pkixtestalg.cpp | 159 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; in DSS() local 164 OID(oidValue) + in DSS() 182 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; in md2WithRSAEncryption() local 184 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 190 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; in md5WithRSAEncryption() local 192 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 198 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; in sha1WithRSAEncryption() local 200 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 206 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; in sha256WithRSAEncryption() local 208 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/lang/spidermonkey60/firefox-60.9.0/security/pkix/test/lib/ |
H A D | pkixtestalg.cpp | 145 static const uint8_t oidValue[] = {PREFIX_1_2_840_10040, 4, 1}; in DSS() local 150 OID(oidValue) + in DSS() 163 static const uint8_t oidValue[] = {PREFIX_1_2_840_113549, 1, 1, 2}; in md2WithRSAEncryption() local 165 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 170 static const uint8_t oidValue[] = {PREFIX_1_2_840_113549, 1, 1, 4}; in md5WithRSAEncryption() local 172 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 177 static const uint8_t oidValue[] = {PREFIX_1_2_840_113549, 1, 1, 5}; in sha1WithRSAEncryption() local 179 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 184 static const uint8_t oidValue[] = {PREFIX_1_2_840_113549, 1, 1, 11}; in sha256WithRSAEncryption() local 186 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/security/ca_root_nss/nss-3.71/nss/lib/mozpkix/test-lib/ |
H A D | pkixtestalg.cpp | 159 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; in DSS() local 164 OID(oidValue) + in DSS() 182 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; in md2WithRSAEncryption() local 184 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 190 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; in md5WithRSAEncryption() local 192 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 198 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; in sha1WithRSAEncryption() local 200 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 206 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; in sha256WithRSAEncryption() local 208 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/www/firefox/firefox-99.0/security/nss/lib/mozpkix/test-lib/ |
H A D | pkixtestalg.cpp | 159 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; in DSS() local 164 OID(oidValue) + in DSS() 182 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; in md2WithRSAEncryption() local 184 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 190 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; in md5WithRSAEncryption() local 192 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 198 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; in sha1WithRSAEncryption() local 200 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 206 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; in sha256WithRSAEncryption() local 208 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/security/pkix/test/lib/ |
H A D | pkixtestalg.cpp | 158 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; 163 OID(oidValue) + 181 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; 183 SimpleAlgID(oidValue), false); 189 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; 191 SimpleAlgID(oidValue), false); 197 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; 199 SimpleAlgID(oidValue), true); 205 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; 207 SimpleAlgID(oidValue), true);
|
/dports/security/nss/nss-3.76.1/nss/lib/mozpkix/test-lib/ |
H A D | pkixtestalg.cpp | 159 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; in DSS() local 164 OID(oidValue) + in DSS() 182 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; in md2WithRSAEncryption() local 184 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 190 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; in md5WithRSAEncryption() local 192 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 198 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; in sha1WithRSAEncryption() local 200 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 206 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; in sha256WithRSAEncryption() local 208 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/mozpkix/test-lib/ |
H A D | pkixtestalg.cpp | 159 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; in DSS() local 164 OID(oidValue) + in DSS() 182 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; in md2WithRSAEncryption() local 184 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 190 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; in md5WithRSAEncryption() local 192 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 198 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; in sha1WithRSAEncryption() local 200 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 206 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; in sha256WithRSAEncryption() local 208 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/mozpkix/test-lib/ |
H A D | pkixtestalg.cpp | 159 static const uint8_t oidValue[] = { PREFIX_1_2_840_10040, 4, 1 }; in DSS() local 164 OID(oidValue) + in DSS() 182 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 2 }; in md2WithRSAEncryption() local 184 SimpleAlgID(oidValue), false); in md2WithRSAEncryption() 190 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 4 }; in md5WithRSAEncryption() local 192 SimpleAlgID(oidValue), false); in md5WithRSAEncryption() 198 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 5 }; in sha1WithRSAEncryption() local 200 SimpleAlgID(oidValue), true); in sha1WithRSAEncryption() 206 static const uint8_t oidValue[] = { PREFIX_1_2_840_113549, 1, 1, 11 }; in sha256WithRSAEncryption() local 208 SimpleAlgID(oidValue), true); in sha256WithRSAEncryption()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Security/Cryptography/ |
H A D | DerEncoder.cs | 392 internal static byte[] EncodeOid(string oidValue) in EncodeOid() argument 408 string oidValue = oid.Value; in SegmentedEncodeOid() 410 return SegmentedEncodeOid(oidValue); in SegmentedEncodeOid() 423 if (string.IsNullOrEmpty(oidValue)) in SegmentedEncodeOid() 427 if (oidValue[1] != '.') in SegmentedEncodeOid() 432 switch (oidValue[0]) in SegmentedEncodeOid() 470 while (startPos < oidValue.Length) in SegmentedEncodeOid() 472 rid = ParseOidRid(oidValue, ref startPos); in SegmentedEncodeOid() 943 Debug.Assert(startIndex < oidValue.Length); in ParseOidRid() 949 endIndex = oidValue.Length; in ParseOidRid() [all …]
|
H A D | AsnWriter.cs | 757 public void WriteObjectIdentifier(string oidValue) in WriteObjectIdentifier() argument 759 if (oidValue == null) in WriteObjectIdentifier() 780 if (oidValue == null) in WriteObjectIdentifier() 799 if (oidValue.Length < 3) in WriteObjectIdentifierCore() 801 if (oidValue[1] != '.') in WriteObjectIdentifierCore() 814 switch (oidValue[0]) in WriteObjectIdentifierCore() 871 int endIndex = oidValue.IndexOf('.'); in ParseSubIdentifier() 875 endIndex = oidValue.Length; in ParseSubIdentifier() 877 else if (endIndex == oidValue.Length - 1) in ParseSubIdentifier() 896 value += AtoI(oidValue[position]); in ParseSubIdentifier() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/ |
H A D | ECCurve.cs | 134 public static ECCurve CreateFromValue(string oidValue) in CreateFromValue() 136 if (oidValue == null) in CreateFromValue() 138 throw new ArgumentNullException(nameof(oidValue)); in CreateFromValue() 140 return ECCurve.CreateFromValueAndName(oidValue, null); in CreateFromValue() 143 private static ECCurve CreateFromValueAndName(string oidValue, string oidFriendlyName) in CreateFromValueAndName() 145 return ECCurve.Create(new Oid(oidValue, oidFriendlyName)); in CreateFromValueAndName()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Windows/ |
H A D | FindPal.cs | 38 …string oidValue = Interop.Crypt32.FindOidInfo(CryptOidInfoKeyType.CRYPT_OID_INFO_NAME_KEY, maybeOi… in NormalizeOid() 40 if (oidValue == null) in NormalizeOid() 42 oidValue = maybeOid; in NormalizeOid() 43 ValidateOidValue(oidValue); in NormalizeOid() 46 return oidValue; in NormalizeOid() 202 public unsafe void FindByApplicationPolicy(string oidValue) in FindByApplicationPolicy() argument 225 if (oidValue.Equals(actual, StringComparison.OrdinalIgnoreCase)) in FindByApplicationPolicy() 233 public unsafe void FindByCertificatePolicy(string oidValue) in FindByCertificatePolicy() argument 255 if (oidValue.Equals(actual, StringComparison.OrdinalIgnoreCase)) in FindByCertificatePolicy() 272 public unsafe void FindByExtension(string oidValue) in FindByExtension() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Encoding/src/Internal/Cryptography/ |
H A D | CngAsnFormatter.cs | 18 String oidValue = String.Empty; in FormatNative() 20 oidValue = oid.Value; in FormatNative() 22 return Cng.CryptFormatObject(oidValue, rawData, multiLine); in FormatNative()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/ |
H A D | CertificateExtensionsCommon.cs | 23 string oidValue = GetExpectedOidValue<T>(); 26 if (oidValue != algorithmOid.Value) 45 string oidValue = GetExpectedOidValue<T>(); 46 if (!certificate.HasPrivateKey || oidValue != certificate.PublicKey.Oid.Value)
|
H A D | FindPal.cs | 125 string oidValue = ConfirmedOidValue(findPal, findValue, OidGroup.Policy); in FindFromCollection() 126 findPal.FindByApplicationPolicy(oidValue); in FindFromCollection() 131 string oidValue = ConfirmedOidValue(findPal, findValue, OidGroup.Policy); in FindFromCollection() 132 findPal.FindByCertificatePolicy(oidValue); in FindFromCollection() 137 … string oidValue = ConfirmedOidValue(findPal, findValue, OidGroup.ExtensionOrAttribute); in FindFromCollection() 138 findPal.FindByExtension(oidValue); in FindFromCollection()
|
H A D | IFindPal.cs | 26 void FindByApplicationPolicy(string oidValue); in FindByApplicationPolicy() argument 27 void FindByCertificatePolicy(string oidValue); in FindByCertificatePolicy() argument 28 void FindByExtension(string oidValue); in FindByExtension() argument
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/Windows/ |
H A D | HelpersWindows.cs | 111 string oidValue = Encoding.ASCII.GetString(oidBytes, 0, length); in GetContentInfo() 112 Oid contentType = new Oid(oidValue); in GetContentInfo() 137 public static AlgId ToAlgId(this string oidValue) in ToAlgId() argument 139 …Interop.Crypt32.FindOidInfo(CryptOidInfoKeyType.CRYPT_OID_INFO_OID_KEY, oidValue, OidGroup.All, fa… in ToAlgId() 214 string oidValue = publicKeyInfo.Algorithm.pszObjId.ToStringAnsi(); in ToSubjectIdentifierOrKey() 215 …AlgorithmIdentifier algorithmId = new AlgorithmIdentifier(Oid.FromOidValue(oidValue, OidGroup.Publ… in ToSubjectIdentifierOrKey() 224 string oidValue = cryptAlgorithmIdentifer.pszObjId.ToStringAnsi(); in ToAlgorithmIdentifier() 225 AlgId algId = oidValue.ToAlgId(); in ToAlgorithmIdentifier() 305 …entifier algorithmIdentifier = new AlgorithmIdentifier(Oid.FromOidValue(oidValue, OidGroup.All), k… in ToAlgorithmIdentifier() 463 string oidValue = pCryptAttribute->pszObjId.ToStringAnsi(); in AddCryptAttribute() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Csp/src/Internal/Cryptography/Unix/ |
H A D | HashAlgorithmNames.cs | 64 string oidValue = CryptoConfig.MapNameToOID(nameOrOid); in NameOrOidToHashAlgorithmName() 65 if (oidValue == null) in NameOrOidToHashAlgorithmName() 66 oidValue = nameOrOid; // we were probably passed an OID value directly in NameOrOidToHashAlgorithmName() 68 name = OidToHashAlgorithmName(oidValue); in NameOrOidToHashAlgorithmName()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/System/Security/Cryptography/ |
H A D | Rfc4050KeyFormatter.cs | 256 string oidValue = curveOid.Value; in WriteDomainParameters() 260 if (string.IsNullOrEmpty(oidValue)) in WriteDomainParameters() 267 oidValue = ECDSA_P256_OID_VALUE; in WriteDomainParameters() 271 oidValue = ECDSA_P384_OID_VALUE; in WriteDomainParameters() 275 oidValue = ECDSA_P521_OID_VALUE; in WriteDomainParameters() 281 oidValue = resolver.Value; in WriteDomainParameters() 286 if (string.IsNullOrEmpty(oidValue)) in WriteDomainParameters() 293 writer.WriteAttributeString(UrnAttribute, OidUrnPrefix + oidValue); in WriteDomainParameters()
|
/dports/security/libtasn1/libtasn1-4.18.0/doc/texi/ |
H A D | asn1_find_structure_from_oid.texi | 3 … *} {asn1_find_structure_from_oid} (asn1_node_const @var{definitions}, const char * @var{oidValue}) 6 @var{oidValue}: value of the OID to search (e.g. "1.2.3.4"). 10 @strong{Returns:} @code{NULL} when @code{oidValue} not found, otherwise the pointer to a
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/cryptography/x509/ |
H A D | x509certificate2collection.cs | 416 string oidValue = null; in FindCertInStore() 512 if (oidValue == null) { in FindCertInStore() 513 oidValue = (string) findValue; in FindCertInStore() 516 pvCallbackData1 = oidValue; in FindCertInStore() 525 if (oidValue == null) { in FindCertInStore() 526 oidValue = (string) findValue; in FindCertInStore() 529 pvCallbackData1 = oidValue; in FindCertInStore() 538 if (oidValue == null) { in FindCertInStore() 539 oidValue = (string) findValue; in FindCertInStore() 542 pvCallbackData1 = oidValue; in FindCertInStore() [all …]
|