目录

CryptoObject

Class Info

public static final class CryptoObject

Password class, which is used for passing password-related information.

Public Constructor Summary

Constructor Name

CryptoObject(Signature signature)

Creates a CryptoObject object using an existing Signature object.

CryptoObject(Cipher cipher)

Creates a CryptoObject object using an existing Cipher object.

CryptoObject(Mac mac)

Creates a CryptoObject object using an existing Mac object.

Public Method Summary

Qualifier and Type

Method Name and Description

Signature

getSignature()

Obtains a Signature object.

Cipher

getCipher()

Obtains a Cipher object.

Mac

getMac()

Obtains a Mac object.

Public Constructors

[h2]CryptoObject(Signature signature)

Constructor

public CryptoObject(Signature signature)

Creates a CryptoObject object using an existing Signature object.

Parameters

Name

Description

signature

Signature object.

[h2]CryptoObject(Cipher cipher)

Constructor

public CryptoObject(Cipher cipher)

Creates a CryptoObject object using an existing Cipher object.

Parameters

Name

Description

cipher

Cipher object.

[h2]CryptoObject(Mac mac)

Constructor

public CryptoObject(Mac mac)

Creates a CryptoObject object using an existing Mac object.

Parameters

Name

Description

mac

Mac object.

Public Methods

[h2]getSignature

Method

public Signature getSignature()

Obtains a Signature object.

Returns

Type

Description

Signature

Signature object.

[h2]getCipher

Method

public Cipher getCipher()

Obtains a Cipher object.

Returns

Type

Description

Cipher

Cipher object.

[h2]getMac

Method

public CryptoObject getCryptoObject()

Obtains a Mac object.

Returns

Type

Description

Mac

Mac object.