Uses of Interface
java.security.PublicKey
-
Uses of PublicKey in java.security
Methods in java.security that return PublicKey Modifier and Type Method Description protected abstract PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)Generates a instance ofPublicKeyfrom the given key specification.PublicKeyKeyFactory. generatePublic(KeySpec keySpec)Generates a instance ofPublicKeyfrom the given key specification.PublicKeyKeyPair. getPublic()Returns the public key.PublicKeyCertificate. getPublicKey()Deprecated.Returns the public key of this certificate.PublicKeyIdentity. getPublicKey()Deprecated.Returns thePublicKeyassociated with thisIdentity.Methods in java.security with parameters of type PublicKey Modifier and Type Method Description protected abstract voidSignatureSpi. engineInitVerify(PublicKey publicKey)Initializes thisSignatureSpiinstance for signature verification, using the public key of the identity whose signature is going to be verified.abstract IdentityIdentityScope. getIdentity(PublicKey key)Deprecated.Returns theIdentitywhich is associated with the specified key ornullif noIdentityassociated with the specified key is present in this scope.voidSignature. initVerify(PublicKey publicKey)Initializes thisSignatureinstance for signature verification, using the public key of the identity whose signature is going to be verified.voidIdentity. setPublicKey(PublicKey key)Deprecated.Sets the specifiedPublicKeyto thisIdentity.booleanSignedObject. verify(PublicKey verificationKey, Signature verificationEngine)Indicates whether the contained signature for the encapsulated object is valid.Constructors in java.security with parameters of type PublicKey Constructor Description KeyPair(PublicKey publicKey, PrivateKey privateKey)Constructs a new instance ofKeyPairwith a public key and the corresponding private key. -
Uses of PublicKey in java.security.cert
Methods in java.security.cert that return PublicKey Modifier and Type Method Description PublicKeyTrustAnchor. getCAPublicKey()Returns the public key of the certificate authority.abstract PublicKeyCertificate. getPublicKey()Returns the public key corresponding to this certificate.PublicKeyPKIXCertPathValidatorResult. getPublicKey()Returns the subject public key from the validation.PublicKeyX509CertSelector. getSubjectPublicKey()Returns the criterion for the subject public key.Methods in java.security.cert with parameters of type PublicKey Modifier and Type Method Description voidX509CertSelector. setSubjectPublicKey(PublicKey key)Sets the criterion for the subject public key.abstract voidCertificate. verify(PublicKey key)Verifies that this certificate was signed with the given public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key.abstract voidX509CRL. verify(PublicKey key)Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key.abstract voidX509CRL. verify(PublicKey key, String sigProvider)Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key.Constructors in java.security.cert with parameters of type PublicKey Constructor Description PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)Creates a newPKIXCertPathBuilderResultinstance with the specified validated certification path, the trust anchor of the certification path, the policy tree and the public key of the subject.PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)Creates a newPKIXCertPathValidatorResultwith the specified trust anchor, the valid policy tree and the subject public key.TrustAnchor(String caName, PublicKey caPublicKey, byte[] nameConstraints)Creates a newTrustAnchorwith the specified certificate authority name, its public key and the specified name constraints.TrustAnchor(X500Principal caPrincipal, PublicKey caPublicKey, byte[] nameConstraints)Creates a newTrustAnchorwith the specified certificate authority name as principal, its public key and the specified name constraints. -
Uses of PublicKey in java.security.interfaces
Subinterfaces of PublicKey in java.security.interfaces Modifier and Type Interface Description interfaceDSAPublicKeyThe interface for a Digital Signature Algorithm (DSA) public key.interfaceECPublicKeyThe interface for an Elliptic Curve (EC) public key.interfaceRSAPublicKeyThe interface for a PKCS#1 RSA public key. -
Uses of PublicKey in javax.crypto.interfaces
Subinterfaces of PublicKey in javax.crypto.interfaces Modifier and Type Interface Description interfaceDHPublicKeyThe interface for a public key in the Diffie-Hellman key exchange protocol. -
Uses of PublicKey in javax.security.cert
Methods in javax.security.cert that return PublicKey Modifier and Type Method Description abstract PublicKeyCertificate. getPublicKey()Returns the public key corresponding to this certificate.Methods in javax.security.cert with parameters of type PublicKey Modifier and Type Method Description abstract voidCertificate. verify(PublicKey key)Verifies that this certificate was signed with the given public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key. -
Uses of PublicKey in org.apache.harmony.security
Classes in org.apache.harmony.security that implement PublicKey Modifier and Type Class Description classPublicKeyImplPublicKeyImplMethods in org.apache.harmony.security with parameters of type PublicKey Modifier and Type Method Description IdentitySystemScope. getIdentity(PublicKey key) -
Uses of PublicKey in org.apache.harmony.security.provider.cert
Methods in org.apache.harmony.security.provider.cert that return PublicKey Modifier and Type Method Description PublicKeyX509CertImpl. getPublicKey()Methods in org.apache.harmony.security.provider.cert with parameters of type PublicKey Modifier and Type Method Description voidX509CertImpl. verify(PublicKey key)voidX509CertImpl. verify(PublicKey key, String sigProvider)voidX509CRLImpl. verify(PublicKey key)voidX509CRLImpl. verify(PublicKey key, String sigProvider) -
Uses of PublicKey in org.apache.harmony.security.provider.crypto
Classes in org.apache.harmony.security.provider.crypto that implement PublicKey Modifier and Type Class Description classDSAPublicKeyImplThe class provides DSAPublicKey functionality by extending a class implementing PublicKey and implementing methods defined in both interfaces, DSAKey and DSAPublicKeyMethods in org.apache.harmony.security.provider.crypto that return PublicKey Modifier and Type Method Description protected PublicKeyDSAKeyFactoryImpl. engineGeneratePublic(KeySpec keySpec)This method generates a DSAPublicKey object from the provided key specification.Methods in org.apache.harmony.security.provider.crypto with parameters of type PublicKey Modifier and Type Method Description protected voidSHA1withDSA_SignatureImpl. engineInitVerify(PublicKey publicKey)Initializes this signature object with PublicKey object passed as argument to the method. -
Uses of PublicKey in org.apache.harmony.security.x509
Classes in org.apache.harmony.security.x509 that implement PublicKey Modifier and Type Class Description classX509PublicKeyMethods in org.apache.harmony.security.x509 that return PublicKey Modifier and Type Method Description PublicKeySubjectPublicKeyInfo. getPublicKey()Returns the PublicKey corresponding to this SubjectPublicKeyInfo instance. -
Uses of PublicKey in org.bouncycastle.cms
Methods in org.bouncycastle.cms with parameters of type PublicKey Modifier and Type Method Description booleanSignerInformation. verify(PublicKey key, String sigProvider)Deprecated.use verify(ContentVerifierProvider)booleanSignerInformation. verify(PublicKey key, Provider sigProvider)Deprecated.use verify(ContentVerifierProvider) -
Uses of PublicKey in org.bouncycastle.cms.jcajce
Methods in org.bouncycastle.cms.jcajce with parameters of type PublicKey Modifier and Type Method Description SignerInformationVerifierJcaSignerInfoVerifierBuilder. build(PublicKey pubKey)SignerInformationVerifierJcaSimpleSignerInfoVerifierBuilder. build(PublicKey pubKey) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.asymmetric.dh
Classes in org.bouncycastle.jcajce.provider.asymmetric.dh that implement PublicKey Modifier and Type Class Description classBCDHPublicKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.dh that return PublicKey Modifier and Type Method Description protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)PublicKeyKeyFactorySpi. generatePublic(SubjectPublicKeyInfo keyInfo) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.asymmetric.dsa
Classes in org.bouncycastle.jcajce.provider.asymmetric.dsa that implement PublicKey Modifier and Type Class Description classBCDSAPublicKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.dsa that return PublicKey Modifier and Type Method Description protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)PublicKeyKeyFactorySpi. generatePublic(SubjectPublicKeyInfo keyInfo)Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa with parameters of type PublicKey Modifier and Type Method Description protected voidDSASigner. engineInitVerify(PublicKey publicKey)static AsymmetricKeyParameterDSAUtil. generatePublicKeyParameter(PublicKey key) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.asymmetric.ec
Classes in org.bouncycastle.jcajce.provider.asymmetric.ec that implement PublicKey Modifier and Type Class Description classBCECPublicKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.ec that return PublicKey Modifier and Type Method Description protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)PublicKeyKeyFactorySpi. generatePublic(SubjectPublicKeyInfo keyInfo)Methods in org.bouncycastle.jcajce.provider.asymmetric.ec with parameters of type PublicKey Modifier and Type Method Description protected voidSignatureSpi. engineInitVerify(PublicKey publicKey) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.asymmetric.rsa
Classes in org.bouncycastle.jcajce.provider.asymmetric.rsa that implement PublicKey Modifier and Type Class Description classBCRSAPublicKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.rsa that return PublicKey Modifier and Type Method Description protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)PublicKeyKeyFactorySpi. generatePublic(SubjectPublicKeyInfo keyInfo)Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa with parameters of type PublicKey Modifier and Type Method Description protected voidDigestSignatureSpi. engineInitVerify(PublicKey publicKey) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.asymmetric.util
Methods in org.bouncycastle.jcajce.provider.asymmetric.util that return PublicKey Modifier and Type Method Description protected PublicKeyBaseKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)Methods in org.bouncycastle.jcajce.provider.asymmetric.util with parameters of type PublicKey Modifier and Type Method Description static AsymmetricKeyParameterDHUtil. generatePublicKeyParameter(PublicKey key)static AsymmetricKeyParameterECUtil. generatePublicKeyParameter(PublicKey key) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.asymmetric.x509
Methods in org.bouncycastle.jcajce.provider.asymmetric.x509 that return PublicKey Modifier and Type Method Description protected PublicKeyKeyFactory. engineGeneratePublic(KeySpec keySpec) -
Uses of PublicKey in org.bouncycastle.jcajce.provider.util
Methods in org.bouncycastle.jcajce.provider.util that return PublicKey Modifier and Type Method Description PublicKeyAsymmetricKeyInfoConverter. generatePublic(SubjectPublicKeyInfo keyInfo) -
Uses of PublicKey in org.bouncycastle.jce
Methods in org.bouncycastle.jce that return PublicKey Modifier and Type Method Description PublicKeyPKCS10CertificationRequest. getPublicKey()Deprecated.return the public key associated with the certification request - the public key is created using the BC provider.PublicKeyPKCS10CertificationRequest. getPublicKey(String provider)Deprecated.Methods in org.bouncycastle.jce with parameters of type PublicKey Modifier and Type Method Description booleanPKCS10CertificationRequest. verify(PublicKey pubKey, String provider)Deprecated.verify the request using the passed in public key and the provider..Constructors in org.bouncycastle.jce with parameters of type PublicKey Constructor Description PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider. -
Uses of PublicKey in org.bouncycastle.jce.interfaces
Subinterfaces of PublicKey in org.bouncycastle.jce.interfaces Modifier and Type Interface Description interfaceECPublicKeyinterface for elliptic curve public keys. -
Uses of PublicKey in org.bouncycastle.jce.netscape
Methods in org.bouncycastle.jce.netscape that return PublicKey Modifier and Type Method Description PublicKeyNetscapeCertRequest. getPublicKey()Methods in org.bouncycastle.jce.netscape with parameters of type PublicKey Modifier and Type Method Description voidNetscapeCertRequest. setPublicKey(PublicKey value)Constructors in org.bouncycastle.jce.netscape with parameters of type PublicKey Constructor Description NetscapeCertRequest(String challenge, AlgorithmIdentifier signing_alg, PublicKey pub_key) -
Uses of PublicKey in org.bouncycastle.jce.provider
Classes in org.bouncycastle.jce.provider that implement PublicKey Modifier and Type Class Description classJCEDHPublicKeyclassJCEECPublicKeyclassJCERSAPublicKeyclassJDKDSAPublicKeyMethods in org.bouncycastle.jce.provider that return PublicKey Modifier and Type Method Description protected static PublicKeyCertPathValidatorUtilities. getNextWorkingKey(List certs, int index)Return the next working key inheriting DSA parameters if necessary.static PublicKeyBouncyCastleProvider. getPublicKey(SubjectPublicKeyInfo publicKeyInfo)PublicKeyX509CertificateObject. getPublicKey()protected static PublicKeyRFC3280CertPathUtilities. processCRLG(X509CRL crl, Set keys)Methods in org.bouncycastle.jce.provider with parameters of type PublicKey Modifier and Type Method Description protected static voidRFC3280CertPathUtilities. checkCRLs(ExtendedPKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, List certPathCerts)Checks a certificate if it is revoked.static AsymmetricKeyParameterDHUtil. generatePublicKeyParameter(PublicKey key)protected static AlgorithmIdentifierCertPathValidatorUtilities. getAlgorithmIdentifier(PublicKey key)booleanCertBlacklist. isPublicKeyBlackListed(PublicKey publicKey)protected static voidRFC3280CertPathUtilities. processCertA(CertPath certPath, ExtendedPKIXParameters paramsPKIX, int index, PublicKey workingPublicKey, boolean verificationAlreadyPerformed, X500Principal workingIssuerName, X509Certificate sign)protected static SetRFC3280CertPathUtilities. processCRLF(X509CRL crl, Object cert, X509Certificate defaultCRLSignCert, PublicKey defaultCRLSignKey, ExtendedPKIXParameters paramsPKIX, List certPathCerts)Obtain and validate the certification path for the complete CRL issuer.protected static X509CRLRFC3280CertPathUtilities. processCRLH(Set deltacrls, PublicKey key)voidX509CertificateObject. verify(PublicKey key)voidX509CertificateObject. verify(PublicKey key, String sigProvider)voidX509CRLObject. verify(PublicKey key)voidX509CRLObject. verify(PublicKey key, String sigProvider)protected static voidCertPathValidatorUtilities. verifyX509Certificate(X509Certificate cert, PublicKey publicKey, String sigProvider) -
Uses of PublicKey in org.bouncycastle.operator.jcajce
Methods in org.bouncycastle.operator.jcajce with parameters of type PublicKey Modifier and Type Method Description ContentVerifierProviderJcaContentVerifierProviderBuilder. build(PublicKey publicKey) -
Uses of PublicKey in org.bouncycastle.x509
Methods in org.bouncycastle.x509 with parameters of type PublicKey Modifier and Type Method Description voidX509V1CertificateGenerator. setPublicKey(PublicKey key)Deprecated.voidX509V3CertificateGenerator. setPublicKey(PublicKey key)Deprecated.voidX509AttributeCertificate. verify(PublicKey key, String provider)voidX509V2AttributeCertificate. verify(PublicKey key, String provider)Deprecated. -
Uses of PublicKey in org.bouncycastle.x509.extension
Constructors in org.bouncycastle.x509.extension with parameters of type PublicKey Constructor Description AuthorityKeyIdentifierStructure(PublicKey pubKey)Deprecated.Create an AuthorityKeyIdentifier using just the hash of the public key.SubjectKeyIdentifierStructure(PublicKey pubKey)Deprecated. -
Uses of PublicKey in org.conscrypt
Classes in org.conscrypt that implement PublicKey Modifier and Type Class Description classOpenSSLDSAPublicKeyclassOpenSSLECPublicKeyclassOpenSSLRSAPublicKeyclassX509PublicKeyA simple but useless key class that holds X.509 public key information when the appropriate KeyFactory for the key algorithm is not available.Methods in org.conscrypt that return PublicKey Modifier and Type Method Description protected PublicKeyOpenSSLDSAKeyFactory. engineGeneratePublic(KeySpec keySpec)protected PublicKeyOpenSSLECKeyFactory. engineGeneratePublic(KeySpec keySpec)protected PublicKeyOpenSSLRSAKeyFactory. engineGeneratePublic(KeySpec keySpec)PublicKeyOpenSSLKey. getPublicKey()PublicKeyOpenSSLX509Certificate. getPublicKey()Methods in org.conscrypt with parameters of type PublicKey Modifier and Type Method Description protected voidOpenSSLSignature. engineInitVerify(PublicKey publicKey)protected voidOpenSSLSignatureRawRSA. engineInitVerify(PublicKey publicKey)protected static intHandshakeProtocol. getRSAKeyLength(PublicKey pk)Returns RSA key lengthvoidOpenSSLX509Certificate. verify(PublicKey key)voidOpenSSLX509Certificate. verify(PublicKey key, String sigProvider)voidOpenSSLX509CRL. verify(PublicKey key)voidOpenSSLX509CRL. verify(PublicKey key, String sigProvider)