Uses of Interface
java.security.PublicKey
-
Packages that use PublicKey 软件包 描述 java.security 提供安全框架的类和接口。java.security.cert 提供用于解析和管理证书,证书撤销列表(CRL)和认证路径的类和接口。java.security.interfaces 提供用于生成RSA实验室技术说明PKCS#1中定义的RSA(Rivest,Shamir和Adleman非对称密码算法)密钥以及NIST FIPS-186中定义的DSA(数字签名算法)密钥的接口。javax.crypto.interfaces 提供RSA实验室PKCS#3中定义的Diffie-Hellman密钥的接口。javax.security.cert 提供公钥证书类。javax.xml.crypto.dsig.keyinfo 用于解析和处理KeyInfo元素和结构的类。 -
-
Uses of PublicKey in java.security
Methods in java.security that return PublicKey Modifier and Type 方法 描述 protected abstract PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)从提供的密钥规范(密钥材料)生成公钥对象。PublicKeyKeyFactory. generatePublic(KeySpec keySpec)从提供的密钥规范(密钥材料)生成公钥对象。PublicKeyKeyPair. getPublic()返回对此密钥对的公钥组件的引用。PublicKeyCertificate. getPublicKey()已过时。返回担保人保证的主 - 关键对的关键字。PublicKeyIdentity. getPublicKey()已过时。返回此身份的公钥。Methods in java.security with parameters of type PublicKey Modifier and Type 方法 描述 protected abstract voidSignatureSpi. engineInitVerify(PublicKey publicKey)使用指定的公钥初始化此签名对象进行验证操作。abstract IdentityIdentityScope. getIdentity(PublicKey key)已过时。使用指定的公钥检索身份。voidSignature. initVerify(PublicKey publicKey)初始化此对象进行验证。voidIdentity. setPublicKey(PublicKey key)已过时。设置此身份的公钥。booleanSignedObject. verify(PublicKey verificationKey, Signature verificationEngine)验证此SignedObject中的签名是使用指定的验证引擎使用给定的验证密钥存储在其中的对象的有效签名。Constructors in java.security with parameters of type PublicKey Constructor 描述 KeyPair(PublicKey publicKey, PrivateKey privateKey)从给定的公钥和私钥构造一个密钥对。 -
Uses of PublicKey in java.security.cert
Methods in java.security.cert that return PublicKey Modifier and Type 方法 描述 PublicKeyTrustAnchor. getCAPublicKey()返回最受信任的CA的公钥。abstract PublicKeyCertificate. getPublicKey()从此证书获取公钥。PublicKeyPKIXCertPathValidatorResult. getPublicKey()返回认证路径的主题(目标)的公钥,包括任何继承的公钥参数(如果适用)。PublicKeyX509CertSelector. getSubjectPublicKey()返回subjectPublicKey标准。Methods in java.security.cert with parameters of type PublicKey Modifier and Type 方法 描述 voidX509CertSelector. setSubjectPublicKey(PublicKey key)设置subjectPublicKey标准。abstract voidCertificate. verify(PublicKey key)使用与指定公钥对应的私钥验证此证书是否已经签名。abstract voidCertificate. verify(PublicKey key, String sigProvider)使用与指定公钥对应的私钥验证此证书是否已经签名。voidCertificate. verify(PublicKey key, Provider sigProvider)使用与指定公钥对应的私钥验证此证书是否已经签名。voidX509Certificate. verify(PublicKey key, Provider sigProvider)使用与指定公钥对应的私钥验证此证书是否已经签名。abstract voidX509CRL. verify(PublicKey key)验证此CRL是否使用与给定公钥对应的私钥进行签名。abstract voidX509CRL. verify(PublicKey key, String sigProvider)验证此CRL是否使用与给定公钥对应的私钥进行签名。voidX509CRL. verify(PublicKey key, Provider sigProvider)验证此CRL是否使用与给定公钥对应的私钥进行签名。Constructors in java.security.cert with parameters of type PublicKey Constructor 描述 PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)创建包含指定参数的PKIXCertPathBuilderResult实例。PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)创建包含指定参数的PKIXCertPathValidatorResult实例。TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints)创建一个TrustAnchor的实例,其中最受信任的CA被指定为可分辨名称和公钥。TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, byte[] nameConstraints)创建一个TrustAnchor的实例,其中最受信任的CA被指定为X500Principal和公钥。 -
Uses of PublicKey in java.security.interfaces
Subinterfaces of PublicKey in java.security.interfaces Modifier and Type 接口 描述 interfaceDSAPublicKeyDSA公钥的接口。interfaceECPublicKey椭圆曲线(EC)公钥的界面。interfaceRSAPublicKey与RSA公钥的接口。 -
Uses of PublicKey in javax.crypto.interfaces
Subinterfaces of PublicKey in javax.crypto.interfaces Modifier and Type 接口 描述 interfaceDHPublicKey与Diffie-Hellman公钥的接口。 -
Uses of PublicKey in javax.security.cert
Methods in javax.security.cert that return PublicKey Modifier and Type 方法 描述 abstract PublicKeyCertificate. getPublicKey()已过时。从此证书获取公钥。Methods in javax.security.cert with parameters of type PublicKey Modifier and Type 方法 描述 abstract voidCertificate. verify(PublicKey key)已过时。使用与指定公钥对应的私钥验证此证书是否已经签名。abstract voidCertificate. verify(PublicKey key, String sigProvider)已过时。使用与指定公钥对应的私钥验证此证书是否已经签名。 -
Uses of PublicKey in javax.xml.crypto.dsig.keyinfo
Methods in javax.xml.crypto.dsig.keyinfo that return PublicKey Modifier and Type 方法 描述 PublicKeyKeyValue. getPublicKey()返回此KeyValue。Methods in javax.xml.crypto.dsig.keyinfo with parameters of type PublicKey Modifier and Type 方法 描述 abstract KeyValueKeyInfoFactory. newKeyValue(PublicKey key)Creates aKeyValuefrom the specified public key.
-