ApplicationKeySupport

public final class ApplicationKeySupport extends Object

Các phương thức và định nghĩa tiện ích để làm việc với các khoá Ứng dụng Weave.

Tóm tắt lớp lồng ghép

giao diện ApplicationKeySupport.ConstituentKeySource  

Tóm tắt hằng số

int kAppIntermediateKeySize Kích thước (tính bằng byte) của một khoá trung gian phái sinh.

Tóm tắt trường

public static final byte[] kAppIntermediateKeyDiversifier Giá trị của khoá đa dạng hoá dùng để lấy khoá trung gian từ khoá gốc và khoá theo thời đại.

Tóm tắt hàm khởi tạo công khai

Tóm tắt phương thức công khai

static byte[]
deriveApplicationKey(int keyId, ApplicationKeySupport.ConstituentKeySource keySource, byte[] salt, byte[] diversifier, int keyLen)

Tóm tắt phương thức kế thừa

Hằng số

public static final int kAppIntermediateKeySize

Kích thước (tính bằng byte) của một khoá trung gian phái sinh.

Giá trị hằng số: 32

Trường

public static final byte[] kAppIntermediateKeyDiversifier

Giá trị của khoá đa dạng hoá dùng để lấy khoá trung gian từ khoá gốc và khoá theo thời đại.

Hàm khởi tạo công khai

public ApplicationKeySupport ()

Phương thức công khai

public static byte[] deriveApplicationKey (int keyId, ApplicationKeySupport.ConstituentKeySource keySource, byte[] salt, byte[] diversifier, int keyLen)

Thông số
keyId
keySource
muối
yếu tố đa dạng hoá
keyLen
Gửi
Ngoại lệ