JSR-62 (Final)

Uses of Interface
java.security.PublicKey

Packages that use PublicKey
java.security   
java.security.cert   
java.security.interfaces   
 

Uses of PublicKey in java.security
 

Methods in java.security that return PublicKey
protected abstract  PublicKey KeyFactorySpi.engineGeneratePublic(KeySpec keySpec)
          Generates a public key object from the provided key specification (key material).
 PublicKey KeyFactory.generatePublic(KeySpec keySpec)
          Generates a public key object from the provided key specification (key material).
 PublicKey KeyPair.getPublic()
          Returns a reference to the public key component of this key pair.
 PublicKey Certificate.getPublicKey()
          Deprecated. Returns the key of the principal-key pair being guaranteed by the guarantor.
 PublicKey Identity.getPublicKey()
          Deprecated. Returns this identity's public key.
 

Methods in java.security with parameters of type PublicKey
 boolean SignedObject.verify(PublicKey verificationKey, Signature verificationEngine)
          Verifies that the signature in this SignedObject is the valid signature for the object stored inside, with the given verification key, using the designated verification engine.
protected abstract  void SignatureSpi.engineInitVerify(PublicKey publicKey)
          Initializes this signature object with the specified public key for verification operations.
 void Signature.initVerify(PublicKey publicKey)
          Initializes this object for verification.
 void Identity.setPublicKey(PublicKey key)
          Deprecated. Sets this identity's public key.
abstract  Identity IdentityScope.getIdentity(PublicKey key)
          Deprecated. Retrieves the identity with the specified public key.
 

Constructors in java.security with parameters of type PublicKey
KeyPair(PublicKey publicKey, PrivateKey privateKey)
          Constructs a key pair from the given public key and private key.
 

Uses of PublicKey in java.security.cert
 

Methods in java.security.cert that return PublicKey
abstract  PublicKey Certificate.getPublicKey()
          Gets the public key from this certificate.
 

Methods in java.security.cert with parameters of type PublicKey
abstract  void Certificate.verify(PublicKey key)
          Verifies that this certificate was signed using the private key that corresponds to the specified public key.
abstract  void Certificate.verify(PublicKey key, String sigProvider)
          Verifies that this certificate was signed using the private key that corresponds to the specified public key.
abstract  void X509CRL.verify(PublicKey key)
          Verifies that this CRL was signed using the private key that corresponds to the given public key.
abstract  void X509CRL.verify(PublicKey key, String sigProvider)
          Verifies that this CRL was signed using the private key that corresponds to the given public key.
 

Uses of PublicKey in java.security.interfaces
 

Subinterfaces of PublicKey in java.security.interfaces
 interface DSAPublicKey
          The interface to a DSA public key.
 interface RSAPublicKey
          The interface to an RSA public key.
 


JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.