Struct google_androidmanagement1::ChoosePrivateKeyRule[][src]

pub struct ChoosePrivateKeyRule {
    pub package_names: Option<Vec<String>>,
    pub url_pattern: Option<String>,
    pub private_key_alias: Option<String>,
}

A rule for automatically choosing a private key and certificate to authenticate the device to a server.

This type is not used in any activity, and only used as part of another schema.

Fields

The package names for which outgoing requests are subject to this rule. If no package names are specified, then the rule applies to all packages. For each package name listed, the rule applies to that package and all other packages that shared the same Android UID. The SHA256 hash of the signing key signatures of each package_name will be verified against those provided by Play

The URL pattern to match against the URL of the outgoing request. The pattern may contain asterisk (*) wildcards. Any URL is matched if unspecified.

The alias of the private key to be used.

Trait Implementations

impl Default for ChoosePrivateKeyRule
[src]

Returns the "default value" for a type. Read more

impl Clone for ChoosePrivateKeyRule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ChoosePrivateKeyRule
[src]

Formats the value using the given formatter. Read more

impl Part for ChoosePrivateKeyRule
[src]

Auto Trait Implementations