public class C509CSRTemplateResponse
extends java.lang.Object
CSRRequestResponse: a server
that has no template for the client answers 204 or 404, in which case
hasTemplate() is false.| Constructor and Description |
|---|
C509CSRTemplateResponse(org.bouncycastle.cbor.c509.C509CertificationRequestTemplate template,
Source source) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getSource() |
org.bouncycastle.cbor.c509.C509CertificationRequestTemplate |
getTemplate()
Return the certification request template.
|
boolean |
hasTemplate()
Return true if the server supplied a certification request template.
|
public C509CSRTemplateResponse(org.bouncycastle.cbor.c509.C509CertificationRequestTemplate template,
Source source)
public boolean hasTemplate()
public org.bouncycastle.cbor.c509.C509CertificationRequestTemplate getTemplate()
java.lang.IllegalStateException - if the server did not supply one.public java.lang.Object getSource()