gnu.crypto.pki.ext

Class KeyUsage

public class KeyUsage extends Extension.Value

Field Summary
static intCRL_SIGN
static intDATA_ENCIPHERMENT
static intDECIPHER_ONLY
static intDIGITAL_SIGNATURE
static intENCIPHER_ONLY
static OIDID
static intKEY_AGREEMENT
static intKEY_CERT_SIGN
static intKEY_ENCIPHERMENT
static intNON_REPUDIATION
Constructor Summary
KeyUsage(byte[] encoded)
Method Summary
BitStringgetKeyUsage()
StringtoString()

Field Detail

CRL_SIGN

public static final int CRL_SIGN

DATA_ENCIPHERMENT

public static final int DATA_ENCIPHERMENT

DECIPHER_ONLY

public static final int DECIPHER_ONLY

DIGITAL_SIGNATURE

public static final int DIGITAL_SIGNATURE

ENCIPHER_ONLY

public static final int ENCIPHER_ONLY

ID

public static final OID ID

KEY_AGREEMENT

public static final int KEY_AGREEMENT

KEY_CERT_SIGN

public static final int KEY_CERT_SIGN

KEY_ENCIPHERMENT

public static final int KEY_ENCIPHERMENT

NON_REPUDIATION

public static final int NON_REPUDIATION

Constructor Detail

KeyUsage

public KeyUsage(byte[] encoded)

Method Detail

getKeyUsage

public BitString getKeyUsage()

toString

public String toString()
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.