Class RsaKeyMaterial
- java.lang.Object
-
- software.amazon.encryption.s3.materials.RawKeyMaterial<PartialRsaKeyPair>
-
- software.amazon.encryption.s3.materials.RsaKeyMaterial
-
public class RsaKeyMaterial extends RawKeyMaterial<PartialRsaKeyPair>
A concrete implementation of RawKeyMaterial for RSA keys. This class provides a more convenient way to create key material for RSA keyrings without having to specify the generic type parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRsaKeyMaterial.BuilderBuilder for RsaKeyMaterial.
-
Field Summary
-
Fields inherited from class software.amazon.encryption.s3.materials.RawKeyMaterial
_keyMaterial, _materialsDescription
-
-
Constructor Summary
Constructors Constructor Description RsaKeyMaterial(MaterialsDescription materialsDescription, PartialRsaKeyPair keyMaterial)Creates a new RsaKeyMaterial with the specified materials description and key material.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RsaKeyMaterial.BuilderrsaBuilder()-
Methods inherited from class software.amazon.encryption.s3.materials.RawKeyMaterial
builder, getKeyMaterial, getMaterialsDescription
-
-
-
-
Constructor Detail
-
RsaKeyMaterial
public RsaKeyMaterial(MaterialsDescription materialsDescription, PartialRsaKeyPair keyMaterial)
Creates a new RsaKeyMaterial with the specified materials description and key material.- Parameters:
materialsDescription- the materials descriptionkeyMaterial- the RSA key material
-
-
Method Detail
-
rsaBuilder
public static RsaKeyMaterial.Builder rsaBuilder()
- Returns:
- a new builder instance for RsaKeyMaterial
-
-