コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the KeyProperties class.
 /// </summary>
 /// <param name="attributes">The attributes of the key.</param>
 /// <param name="kty">The type of the key. For valid values, see
 /// JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA',
 /// 'RSA-HSM'</param>
 /// <param name="keySize">The key size in bits. For example: 2048,
 /// 3072, or 4096 for RSA.</param>
 /// <param name="curveName">The elliptic curve name. For valid values,
 /// see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384',
 /// 'P-521', 'P-256K'</param>
 /// <param name="keyUri">The URI to retrieve the current version of the
 /// key.</param>
 /// <param name="keyUriWithVersion">The URI to retrieve the specific
 /// version of the key.</param>
 /// <param name="rotationPolicy">Key rotation policy in response. It
 /// will be used for both output and input. Omitted if empty</param>
 /// <param name="releasePolicy">Key release policy in response. It will
 /// be used for both output and input. Omitted if empty</param>
 public KeyProperties(KeyAttributes attributes = default(KeyAttributes), string kty = default(string), IList <string> keyOps = default(IList <string>), int?keySize = default(int?), string curveName = default(string), string keyUri = default(string), string keyUriWithVersion = default(string), RotationPolicy rotationPolicy = default(RotationPolicy), KeyReleasePolicy releasePolicy = default(KeyReleasePolicy))
 {
     Attributes        = attributes;
     Kty               = kty;
     KeyOps            = keyOps;
     KeySize           = keySize;
     CurveName         = curveName;
     KeyUri            = keyUri;
     KeyUriWithVersion = keyUriWithVersion;
     RotationPolicy    = rotationPolicy;
     ReleasePolicy     = releasePolicy;
     CustomInit();
 }
コード例 #2
0
ファイル: Key.cs プロジェクト: anpint/azure-sdk-for-net
 /// <summary>
 /// Initializes a new instance of the Key class.
 /// </summary>
 /// <param name="id">Fully qualified identifier of the key vault
 /// resource.</param>
 /// <param name="name">Name of the key vault resource.</param>
 /// <param name="type">Resource type of the key vault resource.</param>
 /// <param name="location">Azure location of the key vault
 /// resource.</param>
 /// <param name="tags">Tags assigned to the key vault resource.</param>
 /// <param name="attributes">The attributes of the key.</param>
 /// <param name="kty">The type of the key. For valid values, see
 /// JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA',
 /// 'RSA-HSM'</param>
 /// <param name="keySize">The key size in bits. For example: 2048,
 /// 3072, or 4096 for RSA.</param>
 /// <param name="curveName">The elliptic curve name. For valid values,
 /// see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384',
 /// 'P-521', 'P-256K'</param>
 /// <param name="keyUri">The URI to retrieve the current version of the
 /// key.</param>
 /// <param name="keyUriWithVersion">The URI to retrieve the specific
 /// version of the key.</param>
 /// <param name="rotationPolicy">Key rotation policy in response. It
 /// will be used for both output and input. Omitted if empty</param>
 /// <param name="releasePolicy">Key release policy in response. It will
 /// be used for both output and input. Omitted if empty</param>
 public Key(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), KeyAttributes attributes = default(KeyAttributes), string kty = default(string), IList <string> keyOps = default(IList <string>), int?keySize = default(int?), string curveName = default(string), string keyUri = default(string), string keyUriWithVersion = default(string), RotationPolicy rotationPolicy = default(RotationPolicy), KeyReleasePolicy releasePolicy = default(KeyReleasePolicy))
     : base(id, name, type, location, tags)
 {
     Attributes        = attributes;
     Kty               = kty;
     KeyOps            = keyOps;
     KeySize           = keySize;
     CurveName         = curveName;
     KeyUri            = keyUri;
     KeyUriWithVersion = keyUriWithVersion;
     RotationPolicy    = rotationPolicy;
     ReleasePolicy     = releasePolicy;
     CustomInit();
 }