Package org.xipki.scep.client
Class EnrolmentResponse
- java.lang.Object
-
- org.xipki.scep.client.EnrolmentResponse
-
public final class EnrolmentResponse extends Object
Response of certificate enrolment.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description EnrolmentResponse(org.xipki.scep.message.PkiMessage pkcsRep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.xipki.security.X509Cert>getCertificates()org.xipki.scep.transaction.FailInfogetFailInfo()StringgetFailInfoText()org.xipki.scep.message.PkiMessagegetPkcsRep()booleanisFailure()booleanisPending()Returns true for a pending response, false otherwise.booleanisSuccess()
-
-
-
Constructor Detail
-
EnrolmentResponse
public EnrolmentResponse(org.xipki.scep.message.PkiMessage pkcsRep) throws ScepClientException- Throws:
ScepClientException
-
-
Method Detail
-
isPending
public boolean isPending()
Returns true for a pending response, false otherwise.- Returns:
- true for a pending response, false otherwise.
-
isFailure
public boolean isFailure()
-
isSuccess
public boolean isSuccess()
-
getCertificates
public List<org.xipki.security.X509Cert> getCertificates()
-
getFailInfo
public org.xipki.scep.transaction.FailInfo getFailInfo()
-
getFailInfoText
public String getFailInfoText()
-
getPkcsRep
public org.xipki.scep.message.PkiMessage getPkcsRep()
-
-