PublisherInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.PublisherInfo

public final class PublisherInfo

Represents the publisher information of a process/rule.

Constructor Summary

Constructor Description
PublisherInfo()

Creates an instance of PublisherInfo class.

Method Summary

Modifier and Type Method and Description
String binaryName()

Get the binaryName property: The "OriginalName" field taken from the file's version resource.

String productName()

Get the productName property: The product name taken from the file's version resource.

String publisherName()

Get the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.

void validate()

Validates the instance.

String version()

Get the version property: The binary file version taken from the file's version resource.

PublisherInfo withBinaryName(String binaryName)

Set the binaryName property: The "OriginalName" field taken from the file's version resource.

PublisherInfo withProductName(String productName)

Set the productName property: The product name taken from the file's version resource.

PublisherInfo withPublisherName(String publisherName)

Set the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.

PublisherInfo withVersion(String version)

Set the version property: The binary file version taken from the file's version resource.

Methods inherited from java.lang.Object

Constructor Details

PublisherInfo

public PublisherInfo()

Creates an instance of PublisherInfo class.

Method Details

binaryName

public String binaryName()

Get the binaryName property: The "OriginalName" field taken from the file's version resource.

Returns:

the binaryName value.

productName

public String productName()

Get the productName property: The product name taken from the file's version resource.

Returns:

the productName value.

publisherName

public String publisherName()

Get the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.

Returns:

the publisherName value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The binary file version taken from the file's version resource.

Returns:

the version value.

withBinaryName

public PublisherInfo withBinaryName(String binaryName)

Set the binaryName property: The "OriginalName" field taken from the file's version resource.

Parameters:

binaryName - the binaryName value to set.

Returns:

the PublisherInfo object itself.

withProductName

public PublisherInfo withProductName(String productName)

Set the productName property: The product name taken from the file's version resource.

Parameters:

productName - the productName value to set.

Returns:

the PublisherInfo object itself.

withPublisherName

public PublisherInfo withPublisherName(String publisherName)

Set the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.

Parameters:

publisherName - the publisherName value to set.

Returns:

the PublisherInfo object itself.

withVersion

public PublisherInfo withVersion(String version)

Set the version property: The binary file version taken from the file's version resource.

Parameters:

version - the version value to set.

Returns:

the PublisherInfo object itself.

Applies to