use of org.platformlayer.crypto.CsrParser in project platformlayer by platformlayer.
the class Csr method parse.
public static Csr parse(String encoded) {
CsrParser parser = new CsrParser();
PKCS10CertificationRequest csr = parser.parse(encoded);
if (csr == null) {
throw new IllegalArgumentException("Cannot parse CSR");
}
return new Csr(csr);
}
Aggregations