1 Reply Latest reply: Jan 1, 2014 6:24 AM by WASIL RSS

    What are the valid truststore usage types when importing a certificate?

    XHIAX Community Member

      I'm trying to import a certificate using the CertificateServiceClient.  I use the string "truststore.usage.type.sign" as the usage string, but I'm getting this stack trace:

       

      [exec] java.lang.IllegalArgumentException: Illegal Certificate Usage Type truststore.usage.type.sign

         at com.adobe.truststore.businessobject.CertificateBO.setCertificateUseTypes(CertificateBO.ja va:160)  

         at com.adobe.truststore.businessobject.CertificateBO.<init>(CertificateBO.java:59)

         ...

       

      What should I use instead? I want to add certificates so that I can validate digital signatures.