public class ProxyCSRInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.bouncycastle.pkcs.PKCS10CertificationRequest |
csr |
private java.util.List<CertificateExtension> |
extensions |
private ProxyCertInfoExtension |
proxyExt |
private java.lang.String |
proxyExtOid |
private java.lang.String |
samlAssertion |
private java.lang.String[][] |
sourceRestrictions |
private java.lang.String[][] |
targetRestrictions |
private java.lang.String |
tracingIssuer |
private java.lang.String |
tracingSubject |
| Constructor and Description |
|---|
ProxyCSRInfo(org.bouncycastle.pkcs.PKCS10CertificationRequest csr)
Generates new instance of this class using the Certificate Signing Request
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
getLastCN() |
ProxyPolicy |
getPolicy()
Gets the requested RFC proxy extension policy OID and octets of the
policy.
|
java.lang.Integer |
getProxyPathLimit()
Returns the proxy path length limit set in the Certificate Signing Request.
|
java.lang.String[][] |
getProxySourceRestrictions()
Gets the proxy source restriction data from the Certificate Signing Request.
|
java.lang.String[][] |
getProxyTargetRestrictions()
Gets the proxy target restriction data from the Certificate Signing Request.
|
java.lang.String |
getProxyTracingIssuer()
Returns an requested URL of the proxy tracing issuer.
|
java.lang.String |
getProxyTracingSubject()
Returns a requested URL of the proxy tracing subject.
|
ProxyType |
getProxyType()
The type of the proxy certificate requested is returned or null if can not be determined.
|
java.lang.String |
getSAMLExtension()
Returns the SAML extension from the certificate chain.
|
private void |
handleRequestedExtension(CertificateExtension ext) |
java.lang.Boolean |
isLimited()
Used to check whether the Certificate Signing Request is for a limited proxy or not.
|
private void |
parseRequestedExtensions() |
private org.bouncycastle.pkcs.PKCS10CertificationRequest csr
private java.util.List<CertificateExtension> extensions
private java.lang.String samlAssertion
private ProxyCertInfoExtension proxyExt
private java.lang.String proxyExtOid
private java.lang.String tracingSubject
private java.lang.String tracingIssuer
private java.lang.String[][] sourceRestrictions
private java.lang.String[][] targetRestrictions
public ProxyCSRInfo(org.bouncycastle.pkcs.PKCS10CertificationRequest csr)
throws java.security.cert.CertificateException
csr - certificate signing requestjava.security.cert.CertificateException - if the Certificate Signing Request is invalidpublic ProxyType getProxyType()
private java.lang.String getLastCN()
throws java.lang.IllegalArgumentException,
java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic java.lang.Boolean isLimited()
public ProxyPolicy getPolicy()
public java.lang.String getProxyTracingIssuer()
public java.lang.String getProxyTracingSubject()
public java.lang.String getSAMLExtension()
public java.lang.Integer getProxyPathLimit()
public java.lang.String[][] getProxySourceRestrictions()
public java.lang.String[][] getProxyTargetRestrictions()
private void parseRequestedExtensions()
throws java.io.IOException
java.io.IOExceptionprivate void handleRequestedExtension(CertificateExtension ext) throws java.io.IOException
java.io.IOException