certificateLabels( filterSubject, filterIssuer ) method

Returns a list of all the certificate labels in this store (can be empty).

Each certificate in this store has a unique label. Supported Platforms: Windows Mobile and BlackBerry.

Syntax

certificateLabels( filterSubject, filterIssuer ) → {String[]}

Parameters

Name Type Description
filterSubject String filter of subject
filterIssuer String filter of issuer

Returns

Only filtered certificate labels

[/reference/refbody/section/sectiondiv {""})

Type:

String[]

(sectiondiv]

Example

// The following script gets all the labels for certificates
// with the provided subject and issuer
var certStore = CertificateStore.getDefault();
var labels = certStore.certificateLabels("MyUser", "mydomain.com");

Source

Certificate.js, line 112.