Enum KeyIdType

    • Enum Constant Detail

      • REF

        public static final KeyIdType REF
        KeyId that is generated by Identity provisioning service after user uploads a public key.

        It has the format: {tenantId/userId/fingerprint}, where tenantId and userId are GUIDs and fingerprint is a lower-cased MD5 separated by ‘:’ for every two hexadecimal characters. TODO: relaxed tenantId and userId format for now so it allows guid, number id and name currently supports ocidV1 and ocidV2 ocidv1:tenancy:dev:sea:aaaaaaaaFA587D08AEF745488C5D276E14F46808/ocidv1:user:dev:sea:aaaaaaaa3F051B5A1B3D46968902530E2F33163F/36:af:36:16:2a:c4:06:44:3b:56:3c:e1:27:c5:52:62 ocid1.tenancy.dev..aaaaaaaaFA587D08AEF745488C5D276E14F46808/ocid1.user.dev..aaaaaaaa3F051B5A1B3D46968902530E2F33163F/36:af:36:16:2a:c4:06:44:3b:56:3c:e1:27:c5:52:62

    • Method Detail

      • values

        public static KeyIdType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KeyIdType c : KeyIdType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeyIdType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getPattern

        public String getPattern()