IAIK PKCS#11 Wrapper
version 1.2.17

iaik.pkcs.pkcs11.objects
Class KeyTypeAttribute

java.lang.Object
  extended byiaik.pkcs.pkcs11.objects.Attribute
      extended byiaik.pkcs.pkcs11.objects.LongAttribute
          extended byiaik.pkcs.pkcs11.objects.KeyTypeAttribute
All Implemented Interfaces:
Cloneable

public class KeyTypeAttribute
extends LongAttribute

This is a special version of a long attribute for the type of a key type. It provides a better toString() implementation.

Invariants

Field Summary
 
Fields inherited from class iaik.pkcs.pkcs11.objects.Attribute
AC_ISSUER, ALLOWED_MECHANISMS, ALWAYS_AUTHENTICATE, ALWAYS_SENSITIVE, APPLICATION, ATTR_TYPES, attributeClasses_, attributeNames_, AUTH_PIN_FLAGS, BASE, CERTIFICATE_CATEGORY, CERTIFICATE_TYPE, CHECK_VALUE, ckAttribute_, CLASS, COEFFICIENT, DECRYPT, DERIVE, EC_PARAMS, EC_POINT, ECDSA_PARAMS, ENCRYPT, END_DATE, EXPONENT_1, EXPONENT_2, EXTRACTABLE, HAS_RESET, HASH_OF_ISSUER_PUBLIC_KEY, HASH_OF_SUBJECT_PUBLIC_KEY, HW_FEATURE_TYPE, ID, ISSUER, JAVA_MIDP_SECURITY_DOMAIN, KEY_GEN_MECHANISM, KEY_TYPE, LABEL, LOCAL, MODIFIABLE, MODULUS, MODULUS_BITS, NEVER_EXTRACTABLE, OBJECT_ID, OWNER, present_, PRIME, PRIME_1, PRIME_2, PRIME_BITS, PRIVATE, PRIVATE_EXPONENT, PUBLIC_EXPONENT, RESET_ON_INIT, SECONDARY_AUTH, SENSITIVE, sensitive_, SERIAL_NUMBER, SIGN, SIGN_RECOVER, START_DATE, SUB_PRIME_BITS, SUBJECT, SUBPRIME, TOKEN, TRUSTED, UNWRAP, UNWRAP_TEMPLATE, URL, VALUE, VALUE_BITS, VALUE_LEN, VENDOR_DEFINED, VERIFY, VERIFY_RECOVER, WRAP, WRAP_TEMPLATE, WRAP_WITH_TRUSTED
 
Constructor Summary
KeyTypeAttribute()
          Empty constructor.
 
Method Summary
protected  String getValueString()
          Get a string representation of the value of this attribute.
 
Methods inherited from class iaik.pkcs.pkcs11.objects.LongAttribute
getLongValue, getValueString, setLongValue, toString
 
Methods inherited from class iaik.pkcs.pkcs11.objects.Attribute
clone, equals, getAttributeClass, getAttributeName, getCkAttribute, getType, hashCode, isPresent, isSensitive, setCkAttribute, setPresent, setSensitive, setType, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyTypeAttribute

public KeyTypeAttribute()
Empty constructor.

Preconditions
Postconditions
Method Detail

getValueString

protected String getValueString()
Get a string representation of the value of this attribute.

Overrides:
getValueString in class Attribute
Returns:
A string representation of the value of this attribute.
Preconditions
Postconditions
(result <> null)

IAIK PKCS#11 Wrapper
version 1.2.17

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2002, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.