Class KeyCreateParameters


  • public class KeyCreateParameters
    extends Object
    The key create parameters.
    • Constructor Detail

      • KeyCreateParameters

        public KeyCreateParameters()
    • Method Detail

      • kty

        public JsonWebKeyType kty()
        Get the kty value.
        Returns:
        the kty value
      • withKty

        public KeyCreateParameters withKty​(JsonWebKeyType kty)
        Set the kty value.
        Parameters:
        kty - the kty value to set
        Returns:
        the KeyCreateParameters object itself.
      • keySize

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

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

        public KeyAttributes keyAttributes()
        Get the keyAttributes value.
        Returns:
        the keyAttributes value
      • withKeyAttributes

        public KeyCreateParameters withKeyAttributes​(KeyAttributes keyAttributes)
        Set the keyAttributes value.
        Parameters:
        keyAttributes - the keyAttributes value to set
        Returns:
        the KeyCreateParameters object itself.
      • tags

        public Map<String,​String> tags()
        Get the tags value.
        Returns:
        the tags value
      • withTags

        public KeyCreateParameters withTags​(Map<String,​String> tags)
        Set the tags value.
        Parameters:
        tags - the tags value to set
        Returns:
        the KeyCreateParameters object itself.
      • withCurve

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