X509CRLSelector.AddIssuerName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddIssuerName(Byte[]) |
Adds a name to the issuerNames criterion. |
AddIssuerName(String) |
<strong>Denigrated</strong>, use #addIssuer(X500Principal) or #addIssuerName(byte[]) instead. |
AddIssuerName(Byte[])
Adds a name to the issuerNames criterion.
[Android.Runtime.Register("addIssuerName", "([B)V", "GetAddIssuerName_arrayBHandler")]
public virtual void AddIssuerName (byte[]? name);
[<Android.Runtime.Register("addIssuerName", "([B)V", "GetAddIssuerName_arrayBHandler")>]
abstract member AddIssuerName : byte[] -> unit
override this.AddIssuerName : byte[] -> unit
Parameters
- name
- Byte[]
a byte array containing the name in ASN.1 DER encoded form
- Attributes
Exceptions
if parsing fails.
Remarks
Adds a name to the issuerNames criterion. The issuer distinguished name in the X509CRL
must match at least one of the specified distinguished names.
This method allows the caller to add a name to the set of issuer names which X509CRLs
may contain. The specified name is added to any previous value for the issuerNames criterion. If the specified name is a duplicate, it may be ignored. If a name is specified as a byte array, it should contain a single DER encoded distinguished name, as defined in X.501. The ASN.1 notation for this structure is as follows.
The name is provided as a byte array. This byte array should contain a single DER encoded distinguished name, as defined in X.501. The ASN.1 notation for this structure appears in the documentation for #setIssuerNames setIssuerNames(Collection names)
.
Note that the byte array supplied here is cloned to protect against subsequent modifications.
Java documentation for java.security.cert.X509CRLSelector.addIssuerName(byte[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
AddIssuerName(String)
<strong>Denigrated</strong>, use #addIssuer(X500Principal) or #addIssuerName(byte[]) instead.
[Android.Runtime.Register("addIssuerName", "(Ljava/lang/String;)V", "GetAddIssuerName_Ljava_lang_String_Handler")]
public virtual void AddIssuerName (string? name);
[<Android.Runtime.Register("addIssuerName", "(Ljava/lang/String;)V", "GetAddIssuerName_Ljava_lang_String_Handler")>]
abstract member AddIssuerName : string -> unit
override this.AddIssuerName : string -> unit
Parameters
- name
- String
the name in RFC 2253 form
- Attributes
Exceptions
if parsing fails.
Remarks
<strong>Denigrated</strong>, use #addIssuer(X500Principal) or #addIssuerName(byte[]) instead. This method should not be relied on as it can fail to match some CRLs because of a loss of encoding information in the RFC 2253 String form of some distinguished names.
Adds a name to the issuerNames criterion. The issuer distinguished name in the X509CRL
must match at least one of the specified distinguished names.
This method allows the caller to add a name to the set of issuer names which X509CRLs
may contain. The specified name is added to any previous value for the issuerNames criterion. If the specified name is a duplicate, it may be ignored.
Java documentation for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.