Class RsaKeyMaterial.Builder

  • Enclosing class:
    RsaKeyMaterial

    public static class RsaKeyMaterial.Builder
    extends Object
    Builder for RsaKeyMaterial.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • materialsDescription

        public RsaKeyMaterial.Builder materialsDescription​(MaterialsDescription materialsDescription)
        Sets the materials description for this RSA key material.
        Parameters:
        materialsDescription - the materials description
        Returns:
        a reference to this object so that method calls can be chained together.
      • keyMaterial

        public RsaKeyMaterial.Builder keyMaterial​(PartialRsaKeyPair keyMaterial)
        Sets the RSA key material.
        Parameters:
        keyMaterial - the RSA key material
        Returns:
        a reference to this object so that method calls can be chained together.
      • build

        public RsaKeyMaterial build()
        Returns:
        the built RsaKeyMaterial