Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
java.security.InvalidKeyException

Packages that use InvalidKeyException
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates. 
 

Uses of InvalidKeyException in java.security
 

Methods in java.security that throw InvalidKeyException
 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.
protected abstract  void SignatureSpi.engineInitSign(PrivateKey privateKey)
          Initializes this signature object with the specified private key for signing operations.
protected  void SignatureSpi.engineInitSign(PrivateKey privateKey, SecureRandom random)
          Initializes this signature object with the specified private key and source of randomness for signing operations.
protected abstract  Key KeyFactorySpi.engineTranslateKey(Key key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
 Key KeyFactory.translateKey(Key key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
 void Signature.initVerify(PublicKey publicKey)
          Initializes this object for verification.
 void Signature.initSign(PrivateKey privateKey)
          Initialize this object for signing.
 void Signature.initSign(PrivateKey privateKey, SecureRandom random)
          Initialize this object for signing.
 

Constructors in java.security that throw InvalidKeyException
SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
          Constructs a SignedObject from any Serializable object.
 

Uses of InvalidKeyException in java.security.cert
 

Methods in java.security.cert that throw InvalidKeyException
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.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.