Class KeyProperties


  • public class KeyProperties
    extends Object
    Properties of the key pair backing a certificate.
    • Constructor Detail

      • KeyProperties

        public KeyProperties()
    • Method Detail

      • exportable

        public Boolean exportable()
        Get the exportable value.
        Returns:
        the exportable value
      • withExportable

        public KeyProperties withExportable​(Boolean exportable)
        Set the exportable value.
        Parameters:
        exportable - the exportable value to set
        Returns:
        the KeyProperties object itself.
      • keyType

        public JsonWebKeyType keyType()
        Get the keyType value.
        Returns:
        the keyType value
      • withKeyType

        public KeyProperties withKeyType​(JsonWebKeyType keyType)
        Set the keyType value.
        Parameters:
        keyType - the keyType value to set
        Returns:
        the KeyProperties object itself.
      • keySize

        public Integer keySize()
        Get the keySize value.
        Returns:
        the keySize value
      • withKeySize

        public KeyProperties withKeySize​(Integer keySize)
        Set the keySize value.
        Parameters:
        keySize - the keySize value to set
        Returns:
        the KeyProperties object itself.
      • reuseKey

        public Boolean reuseKey()
        Get the reuseKey value.
        Returns:
        the reuseKey value
      • withReuseKey

        public KeyProperties withReuseKey​(Boolean reuseKey)
        Set the reuseKey value.
        Parameters:
        reuseKey - the reuseKey value to set
        Returns:
        the KeyProperties object itself.
      • withCurve

        public KeyProperties withCurve​(JsonWebKeyCurveName curve)
        Set the curve value.
        Parameters:
        curve - the curve value to set
        Returns:
        the KeyProperties object itself.