BatchCertificate(String, String, String) Constructor
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.
Initializes a new instance of BatchCertificate.
public BatchCertificate(string thumbprint, string thumbprintAlgorithm, string data);
new Azure.Compute.Batch.BatchCertificate : string * string * string -> Azure.Compute.Batch.BatchCertificate
Public Sub New (thumbprint As String, thumbprintAlgorithm As String, data As String)
Parameters
- thumbprint
- String
The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed).
- thumbprintAlgorithm
- String
The algorithm used to derive the thumbprint. This must be sha1.
- data
- String
The base64-encoded contents of the Certificate. The maximum size is 10KB.
Exceptions
thumbprint
, thumbprintAlgorithm
or data
is null.