Class KeyIdentity

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.KeyIdentity
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
KeyIdentityByCRN, KeyIdentityByFingerprint, KeyIdentityByHref, KeyIdentityById

public class KeyIdentity extends com.ibm.cloud.sdk.core.service.model.GenericModel
Identifies a key by a unique property. Classes which extend this class: - KeyIdentityById - KeyIdentityByCRN - KeyIdentityByHref - KeyIdentityByFingerprint
  • Method Details

    • id

      public String id()
      Gets the id. The unique identifier for this key.
      Returns:
      the id
    • crn

      public String crn()
      Gets the crn. The CRN for this key.
      Returns:
      the crn
    • href

      public String href()
      Gets the href. The URL for this key.
      Returns:
      the href
    • fingerprint

      public String fingerprint()
      Gets the fingerprint. The fingerprint for this key. The value is returned base64-encoded and prefixed with the hash algorithm (always `SHA256`).
      Returns:
      the fingerprint