Class Subject

    • Constructor Detail

      • Subject

        public Subject​(String value)
        Creates a new subject identifier with the specified value.
        Parameters:
        value - The subject identifier value. Must not be null or empty string.
      • Subject

        public Subject​(int byteLength)
        Creates a new subject identifier with a randomly generated value of the specified byte length, Base64URL-encoded.
        Parameters:
        byteLength - The byte length of the value to generate. Must be greater than one.
      • Subject

        public Subject()
        Creates a new subject identifier with a randomly generated 256-bit (32-byte) value, Base64URL-encoded.