getType static method

PKDResourceType getType(
  1. String value
)

Implementation

static PKDResourceType getType(String value) {
  switch (value) {
    case "pa":
      return CERTIFICATE_PA;
    case "ta":
      return CERTIFICATE_TA;
    case "ldif":
      return LDIF;
    case "crl":
      return CRL;
    case "ml":
      return ML;
    case "defl":
      return DEFL;
    case "devl":
      return DEVL;
    case "bl":
      return BL;
    default:
      return CERTIFICATE_PA;
  }
}