Top Description Fields Constructors Methods
com.oracle.bmc.http.signing.internal

public final Enum KeyIdType

extends Enum<KeyIdType>
Class Inheritance

An enum for KeyId types and associated patterns

Field Summary

Modifier and TypeField and Description
private final String
public static final KeyIdType
REF

KeyId that is generated by Identity provisioning service after user uploads a public key.

Constructor Summary

AccessConstructor and Description
private
KeyIdType(final String pattern)

Method Summary

Modifier and TypeMethod and Description
public String
public static KeyIdType
public static KeyIdType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

patternback to summary
private final String pattern
REFback to summary
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

Constructor Detail

KeyIdTypeback to summary
private KeyIdType(final String pattern)

Method Detail

getPatternback to summary
public String getPattern()
valueOfback to summary
public static KeyIdType valueOf(String name)
valuesback to summary
public static KeyIdType[] values()