/// <summary> /// Initializes a new instance of the CertificateItem class. /// </summary> /// <param name="id">Certificate Identifier</param> /// <param name="attributes">The certificate management /// attributes</param> /// <param name="tags">Application-specific metadata in the form of /// key-value pairs</param> /// <param name="x509Thumbprint">Thumbprint of the certificate.</param> public CertificateItem(string id = default(string), CertificateAttributes attributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), byte[] x509Thumbprint = default(byte[])) { Id = id; Attributes = attributes; Tags = tags; X509Thumbprint = x509Thumbprint; }
/// <summary> /// Initializes a new instance of the CertificateCreateParameters /// class. /// </summary> /// <param name="certificatePolicy">The management policy for the /// certificate.</param> /// <param name="certificateAttributes">The attributes of the /// certificate (optional).</param> /// <param name="tags">Application specific metadata in the form of /// key-value pairs.</param> public CertificateCreateParameters(CertificatePolicy certificatePolicy = default(CertificatePolicy), CertificateAttributes certificateAttributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>)) { CertificatePolicy = certificatePolicy; CertificateAttributes = certificateAttributes; Tags = tags; CustomInit(); }
/// <summary> /// Initializes a new instance of the CertificateMergeParameters class. /// </summary> /// <param name="x509Certificates">The certificate or the certificate /// chain to merge.</param> /// <param name="certificateAttributes">The attributes of the /// certificate (optional).</param> /// <param name="tags">Application specific metadata in the form of /// key-value pairs.</param> public CertificateMergeParameters(IList <byte[]> x509Certificates, CertificateAttributes certificateAttributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>)) { X509Certificates = x509Certificates; CertificateAttributes = certificateAttributes; Tags = tags; CustomInit(); }
/// <summary> /// Initializes a new instance of the DeletedCertificateItem class. /// </summary> /// <param name="id">Certificate identifier.</param> /// <param name="attributes">The certificate management /// attributes.</param> /// <param name="tags">Application specific metadata in the form of /// key-value pairs.</param> /// <param name="x509Thumbprint">Thumbprint of the certificate.</param> /// <param name="recoveryId">The url of the recovery object, used to /// identify and recover the deleted certificate.</param> /// <param name="scheduledPurgeDate">The time when the certificate is /// scheduled to be purged, in UTC</param> /// <param name="deletedDate">The time when the certificate was /// deleted, in UTC</param> public DeletedCertificateItem(string id = default(string), CertificateAttributes attributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), byte[] x509Thumbprint = default(byte[]), string recoveryId = default(string), System.DateTime?scheduledPurgeDate = default(System.DateTime?), System.DateTime?deletedDate = default(System.DateTime?)) : base(id, attributes, tags, x509Thumbprint) { RecoveryId = recoveryId; ScheduledPurgeDate = scheduledPurgeDate; DeletedDate = deletedDate; CustomInit(); }
/// <summary> /// Initializes a new instance of the CertificateImportParameters /// class. /// </summary> /// <param name="base64EncodedCertificate">Base64 encoded /// representation of the certificate object to import. This /// certificate needs to contain the private key.</param> /// <param name="password">If the private key in /// base64EncodedCertificate is encrypted, the password used for /// encryption</param> /// <param name="certificatePolicy">The management policy for the /// certificate</param> /// <param name="certificateAttributes">The attributes of the /// certificate (optional)</param> /// <param name="tags">Application-specific metadata in the form of /// key-value pairs</param> public CertificateImportParameters(string base64EncodedCertificate, string password = default(string), CertificatePolicy certificatePolicy = default(CertificatePolicy), CertificateAttributes certificateAttributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Base64EncodedCertificate = base64EncodedCertificate; Password = password; CertificatePolicy = certificatePolicy; CertificateAttributes = certificateAttributes; Tags = tags; }
/// <summary> /// Initializes a new instance of the CertificatePolicy class. /// </summary> /// <param name="id">The certificate id</param> /// <param name="keyProperties">Properties of the key backing a /// certificate.</param> /// <param name="secretProperties">Properties of the secret backing a /// certificate.</param> /// <param name="x509CertificateProperties">Properties of the X509 /// component of a certificate.</param> /// <param name="lifetimeActions">Actions that will be performed by /// Key Vault over the lifetime of a certificate.</param> /// <param name="issuerReference">Reference to the issuer of the X509 /// component of a certificate.</param> /// <param name="attributes">The certificate attributes.</param> public CertificatePolicy(string id = default(string), KeyProperties keyProperties = default(KeyProperties), SecretProperties secretProperties = default(SecretProperties), X509CertificateProperties x509CertificateProperties = default(X509CertificateProperties), IList <LifetimeAction> lifetimeActions = default(IList <LifetimeAction>), IssuerReference issuerReference = default(IssuerReference), CertificateAttributes attributes = default(CertificateAttributes)) { Id = id; KeyProperties = keyProperties; SecretProperties = secretProperties; X509CertificateProperties = x509CertificateProperties; LifetimeActions = lifetimeActions; IssuerReference = issuerReference; Attributes = attributes; }
/// <summary> /// Initializes a new instance of the CertificatePolicy class. /// </summary> /// <param name="id">The certificate id.</param> /// <param name="keyProperties">Properties of the key backing a /// certificate.</param> /// <param name="secretProperties">Properties of the secret backing a /// certificate.</param> /// <param name="x509CertificateProperties">Properties of the X509 /// component of a certificate.</param> /// <param name="lifetimeActions">Actions that will be performed by Key /// Vault over the lifetime of a certificate.</param> /// <param name="issuerParameters">Parameters for the issuer of the /// X509 component of a certificate.</param> /// <param name="attributes">The certificate attributes.</param> public CertificatePolicy(string id = default(string), KeyProperties keyProperties = default(KeyProperties), SecretProperties secretProperties = default(SecretProperties), X509CertificateProperties x509CertificateProperties = default(X509CertificateProperties), IList <LifetimeAction> lifetimeActions = default(IList <LifetimeAction>), IssuerParameters issuerParameters = default(IssuerParameters), CertificateAttributes attributes = default(CertificateAttributes)) { Id = id; KeyProperties = keyProperties; SecretProperties = secretProperties; X509CertificateProperties = x509CertificateProperties; LifetimeActions = lifetimeActions; IssuerParameters = issuerParameters; Attributes = attributes; CustomInit(); }
/// <summary> /// Initializes a new instance of the CertificateBundle class. /// </summary> /// <param name="id">The certificate id</param> /// <param name="kid">The key id</param> /// <param name="sid">The secret id</param> /// <param name="x509Thumbprint">Thumbprint of the certificate.</param> /// <param name="policy">The management policy.</param> /// <param name="cer">CER contents of x509 certificate.</param> /// <param name="contentType">The content type of the secret</param> /// <param name="attributes">The certificate attributes.</param> /// <param name="tags">Application-specific metadata in the form of /// key-value pairs</param> public CertificateBundle(string id = default(string), string kid = default(string), string sid = default(string), byte[] x509Thumbprint = default(byte[]), CertificatePolicy policy = default(CertificatePolicy), byte[] cer = default(byte[]), string contentType = default(string), CertificateAttributes attributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Id = id; Kid = kid; Sid = sid; X509Thumbprint = x509Thumbprint; Policy = policy; Cer = cer; ContentType = contentType; Attributes = attributes; Tags = tags; }
/// <summary> /// Initializes a new instance of the DeletedCertificateBundle class. /// </summary> /// <param name="id">The certificate id.</param> /// <param name="kid">The key id.</param> /// <param name="sid">The secret id.</param> /// <param name="x509Thumbprint">Thumbprint of the certificate.</param> /// <param name="policy">The management policy.</param> /// <param name="cer">CER contents of x509 certificate.</param> /// <param name="contentType">The content type of the secret.</param> /// <param name="attributes">The certificate attributes.</param> /// <param name="tags">Application specific metadata in the form of /// key-value pairs</param> /// <param name="recoveryId">The url of the recovery object, used to /// identify and recover the deleted certificate.</param> /// <param name="scheduledPurgeDate">The time when the certificate is /// scheduled to be purged, in UTC</param> /// <param name="deletedDate">The time when the certificate was /// deleted, in UTC</param> public DeletedCertificateBundle(string id = default(string), string kid = default(string), string sid = default(string), byte[] x509Thumbprint = default(byte[]), CertificatePolicy policy = default(CertificatePolicy), byte[] cer = default(byte[]), string contentType = default(string), CertificateAttributes attributes = default(CertificateAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), string recoveryId = default(string), System.DateTime?scheduledPurgeDate = default(System.DateTime?), System.DateTime?deletedDate = default(System.DateTime?)) : base(id, kid, sid, x509Thumbprint, policy, cer, contentType, attributes, tags) { RecoveryId = recoveryId; ScheduledPurgeDate = scheduledPurgeDate; DeletedDate = deletedDate; CustomInit(); }