Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




This
interface defines the high-level characteristics of all cryptographic
keys. getAlgorithm( ) returns the name of the
cryptographic algorithm (such as RSA) used with the key.
getFormat( ) return the name of the external
encoding (such as X.509) used with the key. getEncoded(
)
returns the key as an array of bytes, encoded using the
format specified by getFormat( ).


Figure 14-17. java.security.Key

public interface 

Key extends Serializable {
// Public Constants

1.2 public static final long

serialVersionUID ; =6603384152749567654
// Public Instance Methods
String

getAlgorithm ( );
byte[ ]

getEncoded ( );
String

getFormat ( );
}


Implementations


PrivateKey, PublicKey,
javax.crypto.SecretKey

Passed To


Too many methods to list.

Returned By


KeyFactory.translateKey( ),
KeyFactorySpi.engineTranslateKey( ),
KeyStore.getKey( ),
KeyStoreSpi.engineGetKey( ),
javax.crypto.Cipher.unwrap( ),
javax.crypto.CipherSpi.engineUnwrap( ),
javax.crypto.KeyAgreement.doPhase( ),
javax.crypto.KeyAgreementSpi.engineDoPhase( )

/ 1191