Uses of Class
java.security.cert.Certificate
-
Packages that use Certificate 软件包 描述 java.net 提供实现网络应用程序的类。java.security 提供安全框架的类和接口。java.security.cert 提供用于解析和管理证书,证书撤销列表(CRL)和认证路径的类和接口。java.util.jar 提供用于读取和写入JAR(Java ARchive)文件格式的类,该文件格式基于具有可选清单文件的标准ZIP文件格式。javax.crypto 提供加密操作的类和接口。javax.net.ssl 为安全套接字包提供类。 -
-
Uses of Certificate in java.net
Methods in java.net that return Certificate Modifier and Type 方法 描述 Certificate[]JarURLConnection. getCertificates()如果它的URL指向JAR文件条目,则返回此连接的证书对象,否则返回null。Methods in java.net that return types with arguments of type Certificate Modifier and Type 方法 描述 abstract List<Certificate>SecureCacheResponse. getLocalCertificateChain()返回在握手检索网络资源的原始连接期间发送到服务器的证书链。abstract List<Certificate>SecureCacheResponse. getServerCertificateChain()返回服务器的证书链,它是作为在检索网络资源的原始连接中从缓存定义会话的一部分而建立的。 -
Uses of Certificate in java.security
Methods in java.security that return Certificate Modifier and Type 方法 描述 abstract CertificateKeyStoreSpi. engineGetCertificate(String alias)返回与给定别名相关联的证书。abstract Certificate[]KeyStoreSpi. engineGetCertificateChain(String alias)返回与给定别名关联的证书链。CertificateKeyStore. getCertificate(String alias)返回与给定别名相关联的证书。CertificateKeyStore.PrivateKeyEntry. getCertificate()从该条目中的证书链中获取终端实体Certificate。Certificate[]KeyStore. getCertificateChain(String alias)返回与给定别名关联的证书链。Certificate[]KeyStore.PrivateKeyEntry. getCertificateChain()从此条目获取Certificate链。Certificate[]CodeSource. getCertificates()返回与此CodeSource相关联的证书。CertificateKeyStore.TrustedCertificateEntry. getTrustedCertificate()从此条目获取值得信赖的Certficate。Certificate[]UnresolvedPermission. getUnresolvedCerts()获取尚未解决的底层权限的签名者证书(无任何支持链)。Methods in java.security with parameters of type Certificate Modifier and Type 方法 描述 abstract StringKeyStoreSpi. engineGetCertificateAlias(Certificate cert)返回其证书与给定证书匹配的第一个密钥库条目的(别名)名称。abstract voidKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)将给定的证书分配给给定的别名。abstract voidKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)将给定的密钥(已经被保护)分配给给定的别名。abstract voidKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)将给定的密钥分配给给定的别名,并使用给定的密码进行保护。StringKeyStore. getCertificateAlias(Certificate cert)返回其证书与给定证书匹配的第一个密钥库条目的(别名)名称。voidSignature. initVerify(Certificate certificate)使用给定证书中的公钥初始化此对象进行验证。voidKeyStore. setCertificateEntry(String alias, Certificate cert)将给定的可信证书分配给给定的别名。voidKeyStore. setKeyEntry(String alias, byte[] key, Certificate[] chain)将给定的密钥(已经被保护)分配给给定的别名。voidKeyStore. setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)将给定的密钥分配给给定的别名,并使用给定的密码进行保护。Constructors in java.security with parameters of type Certificate Constructor 描述 CodeSource(URL url, Certificate[] certs)构造一个CodeSource并将其与指定的位置和证书集合相关联。PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)构造一个PrivateKeyEntry与PrivateKey和相应的证书链。PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain, Set<KeyStore.Entry.Attribute> attributes)构造一个具有PrivateKeyEntry的PrivateKey和相应的证书链和相关的条目属性。TrustedCertificateEntry(Certificate trustedCert)构造一个TrustedCertificateEntry与一个值得信赖的Certificate。TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes)构造一个TrustedCertificateEntry具有可信任的Certificate和相关联的条目属性。UnresolvedPermission(String type, String name, String actions, Certificate[] certs)创建一个新的UnresolvedPermission,当权限解决时,包含稍后实际创建指定类的权限所需的权限信息。 -
Uses of Certificate in java.security.cert
Subclasses of Certificate in java.security.cert Modifier and Type Class 描述 classX509CertificateX.509证书的抽象类。Methods in java.security.cert that return Certificate Modifier and Type 方法 描述 abstract CertificateCertificateFactorySpi. engineGenerateCertificate(InputStream inStream)生成证书对象并使用从输入流inStream读取的数据进行初始化。CertificateCertificateFactory. generateCertificate(InputStream inStream)生成证书对象并使用从输入流inStream读取的数据进行初始化。Methods in java.security.cert that return types with arguments of type Certificate Modifier and Type 方法 描述 abstract Collection<? extends Certificate>CertificateFactorySpi. engineGenerateCertificates(InputStream inStream)返回从给定的输入流inStream读取的证书的(可能为空的)集合视图。abstract Collection<? extends Certificate>CertStoreSpi. engineGetCertificates(CertSelector selector)返回与指定选择器匹配的Collection的Certificate。Collection<? extends Certificate>CertificateFactory. generateCertificates(InputStream inStream)返回从给定输入流inStream读取的证书的(可能为空的)集合视图。abstract List<? extends Certificate>CertPath. getCertificates()返回此认证路径中的证书列表。Collection<? extends Certificate>CertStore. getCertificates(CertSelector selector)返回匹配指定选择器的Collection的Certificate。Methods in java.security.cert with parameters of type Certificate Modifier and Type 方法 描述 voidCertPathChecker. check(Certificate cert)使用其内部状态对指定的证书执行检查。voidPKIXCertPathChecker. check(Certificate cert)使用其内部状态对指定的证书执行检查。abstract voidPKIXCertPathChecker. check(Certificate cert, Collection<String> unresolvedCritExts)使用其内部状态对指定证书执行检查,并从指定的OID字符串集合中删除其处理的任何关键扩展,这些扩展代表未解决的关键扩展。abstract booleanCRL. isRevoked(Certificate cert)检查给定的证书是否在此CRL上。booleanCertSelector. match(Certificate cert)决定是否选择Certificate。booleanX509CertSelector. match(Certificate cert)决定是否选择Certificate。Method parameters in java.security.cert with type arguments of type Certificate Modifier and Type 方法 描述 CertPathCertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)生成一个CertPath对象,并用List的Certificates进行初始化。CertPathCertificateFactory. generateCertPath(List<? extends Certificate> certificates)生成一个CertPath对象,并使用List的Certificate初始化。 -
Uses of Certificate in java.util.jar
Methods in java.util.jar that return Certificate Modifier and Type 方法 描述 Certificate[]JarEntry. getCertificates()返回Certificate对象此条,或null如果没有。 -
Uses of Certificate in javax.crypto
Methods in javax.crypto with parameters of type Certificate Modifier and Type 方法 描述 voidCipher. init(int opmode, Certificate certificate)使用给定证书中的公钥初始化此密码。voidCipher. init(int opmode, Certificate certificate, SecureRandom random)使用给定证书中的公钥和随机源初始化此密码。 -
Uses of Certificate in javax.net.ssl
Methods in javax.net.ssl that return Certificate Modifier and Type 方法 描述 Certificate[]HandshakeCompletedEvent. getLocalCertificates()返回在握手期间发送给对等体的证书。abstract Certificate[]HttpsURLConnection. getLocalCertificates()返回在握手期间发送到服务器的证书。Certificate[]SSLSession. getLocalCertificates()返回在握手期间发送给对等体的证书。Certificate[]HandshakeCompletedEvent. getPeerCertificates()返回作为定义会话的一部分而建立的对等体的身份。Certificate[]SSLSession. getPeerCertificates()返回作为定义会话的一部分而建立的对等体的身份。abstract Certificate[]HttpsURLConnection. getServerCertificates()返回作为定义会话的一部分而建立的服务器的证书链。
-