Class KeyAlgorithm
Certificate Manager key algorithm.
Inheritance
Namespace: Amazon.CDK.AWS.CertificateManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeyAlgorithm : DeputyBase
Syntax (vb)
Public Class KeyAlgorithm
Inherits DeputyBase
Remarks
If you need to use an algorithm that doesn't exist as a static member, you
can instantiate a KeyAlgorithm
object, e.g: new KeyAlgorithm('RSA_2048')
.
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ACMPCA;
new PrivateCertificate(this, "PrivateCertificate", new PrivateCertificateProps {
DomainName = "test.example.com",
SubjectAlternativeNames = new [] { "cool.example.com", "test.example.net" }, // optional
CertificateAuthority = CertificateAuthority.FromCertificateAuthorityArn(this, "CA", "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77"),
KeyAlgorithm = KeyAlgorithm.RSA_2048
});
Synopsis
Constructors
KeyAlgorithm(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
KeyAlgorithm(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
KeyAlgorithm(String) |
Properties
EC_PRIME256V1 | EC_prime256v1 algorithm. |
EC_SECP384R1 | EC_secp384r1 algorithm. |
Name | The name of the algorithm. |
RSA_2048 | RSA_2048 algorithm. |
Constructors
KeyAlgorithm(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected KeyAlgorithm(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
KeyAlgorithm(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected KeyAlgorithm(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
KeyAlgorithm(String)
public KeyAlgorithm(string name)
Parameters
- name System.String
The name of the algorithm.
Properties
EC_PRIME256V1
EC_prime256v1 algorithm.
public static KeyAlgorithm EC_PRIME256V1 { get; }
Property Value
EC_SECP384R1
EC_secp384r1 algorithm.
public static KeyAlgorithm EC_SECP384R1 { get; }
Property Value
Name
The name of the algorithm.
public virtual string Name { get; }
Property Value
System.String