本文整理了Java中org.simpleframework.http.Request.getClientCertificate
方法的一些代码示例,展示了Request.getClientCertificate
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getClientCertificate
方法的具体详情如下:
包路径:org.simpleframework.http.Request
类名称:Request
方法名:getClientCertificate
[英]This is used to acquire the SSL certificate used when the server is using a HTTPS connection. For plain text connections or connections that use a security mechanism other than SSL this will be null. This is only available when the connection makes specific use of an SSL engine to secure the connection.
[中]这用于获取服务器使用HTTPS连接时使用的SSL证书。对于纯文本连接或使用SSL以外的安全机制的连接,该值将为null。这仅在连接特定使用SSL引擎来保护连接时可用。
代码示例来源:origin: ngallagher/simpleframework
/**
* This is used to acquire the SSL certificate used when the
* server is using a HTTPS connection. For plain text connections
* or connections that use a security mechanism other than SSL
* this will be null. This is only available when the connection
* makes specific use of an SSL engine to secure the connection.
*
* @return this returns the associated SSL certificate if any
*/
public Certificate getClientCertificate() {
return request.getClientCertificate();
}
代码示例来源:origin: org.simpleframework/simple-http
/**
* This is used to acquire the SSL certificate used when the
* server is using a HTTPS connection. For plain text connections
* or connections that use a security mechanism other than SSL
* this will be null. This is only available when the connection
* makes specific use of an SSL engine to secure the connection.
*
* @return this returns the associated SSL certificate if any
*/
public Certificate getClientCertificate() {
return request.getClientCertificate();
}
代码示例来源:origin: org.simpleframework/simple
/**
* This is used to acquire the SSL certificate used when the
* server is using a HTTPS connection. For plain text connections
* or connections that use a security mechanism other than SSL
* this will be null. This is only available when the connection
* makes specific use of an SSL engine to secure the connection.
*
* @return this returns the associated SSL certificate if any
*/
public Certificate getClientCertificate() {
return request.getClientCertificate();
}
内容来源于网络,如有侵权,请联系作者删除!