X509CRLSelector.SetIssuerNames(ICollection<Object>) メソッド

定義

<strong>Note:</strong> use #setIssuers(Collection) instead or only specify the byte array form of distinguished names when using this method.

[Android.Runtime.Register("setIssuerNames", "(Ljava/util/Collection;)V", "GetSetIssuerNames_Ljava_util_Collection_Handler")]
public virtual void SetIssuerNames (System.Collections.Generic.ICollection<object>? names);
[<Android.Runtime.Register("setIssuerNames", "(Ljava/util/Collection;)V", "GetSetIssuerNames_Ljava_util_Collection_Handler")>]
abstract member SetIssuerNames : System.Collections.Generic.ICollection<obj> -> unit
override this.SetIssuerNames : System.Collections.Generic.ICollection<obj> -> unit

パラメーター

names
ICollection<Object>

名前の a Collection (または null)

属性

注釈

<strong>Note:</strong> use #setIssuers(Collection) instead or only specify the byte array form of distinguished names when using this method. 詳細については、「 #addIssuerName(String) 」を参照してください。

issuerNames 条件を設定します。 内の X509CRL 発行者識別名は、指定された識別名の少なくとも 1 つと一致している必要があります。 の場合 nullは、発行者の識別名が行われます。

このメソッドを使用すると、呼び出し元は、1 つのメソッド呼び出しで、含まれる可能性がある発行者名の完全なセットを X509CRLs 指定できます。 指定した値は、issuerNames 条件の前の値を置き換えます。

namesパラメーター (そうでないnull場合) は名前の ですCollection。 各名前は、 String 識別名を表す または バイト配列です (それぞれ RFC 2253 または ASN.1 DER エンコード形式)。 この引数の値として が指定されている場合null、issuerNames チェックは実行されません。

パラメーターにはnames重複する識別名を含めることができますが、 メソッドによって#getIssuerNames getIssuerNames返される名前からCollection削除される可能性があることに注意してください。

名前がバイト配列として指定されている場合は、X.501 で定義されているように、1 つの DER でエンコードされた識別名を含める必要があります。 この構造体の ASN.1 表記は次のとおりです。

{@code
            Name ::= CHOICE {
              RDNSequence }

            RDNSequence ::= SEQUENCE OF RelativeDistinguishedName

            RelativeDistinguishedName ::=
              SET SIZE (1 .. MAX) OF AttributeTypeAndValue

            AttributeTypeAndValue ::= SEQUENCE {
              type     AttributeType,
              value    AttributeValue }

            AttributeType ::= OBJECT IDENTIFIER

            AttributeValue ::= ANY DEFINED BY AttributeType
            ....
            DirectoryString ::= CHOICE {
                  teletexString           TeletexString (SIZE (1..MAX)),
                  printableString         PrintableString (SIZE (1..MAX)),
                  universalString         UniversalString (SIZE (1..MAX)),
                  utf8String              UTF8String (SIZE (1.. MAX)),
                  bmpString               BMPString (SIZE (1..MAX)) }
            }

後続の変更から保護するために、 Collection に対してディープ コピーが実行されることに注意してください。

java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection<?>)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象