Class PKCS15_PasswordAuthenticationObject

Object
   |
   +--PKCS15_PasswordAuthenticationObject

class PKCS15_PasswordAuthenticationObject


This class supports password authentication objects.

The class decodes the following ASN.1 syntax:

 PasswordAttributes ::= SEQUENCE {
	pwdFlags PasswordFlags,
	pwdType PasswordType,
	minLength INTEGER (cia-lb-minPasswordLength..cia-ub-minPasswordLength),
	storedLength INTEGER (0..cia-ub-storedPasswordLength),
	maxLength INTEGER OPTIONAL,
	pwdReference [0] Reference DEFAULT 0,
	padChar OCTET STRING (SIZE(1)) OPTIONAL,
	lastPasswordChange GeneralizedTime OPTIONAL,
	path Path OPTIONAL,
	... -- For future extensions
 }
 PasswordFlags ::= BIT STRING {
	case-sensitive (0),
	local (1),
	change-disabled (2),
	unblock-disabled (3),
	initialized (4),
	needs-padding (5),
	unblockingPassword (6),
	soPassword (7),
	disable-allowed (8),
	integrity-protected (9),
	confidentiality-protected (10),
	exchangeRefData (11)
	} (CONSTRAINED BY { -- "unblockingPassword" and "soPassword" cannot both be set -- })
 PasswordType ::= ENUMERATED {bcd, ascii-numeric, utf8, half-nibble-bcd, iso9564-1, ...}
 

Defined in p15classes.js


Field Summary
 Object maxLength
          
 Object minLength
          
 Object pwdFlags
          
 Object pwdReference
          
 Object pwdType
          
 Object storedLength
          
 
Constructor Summary
PKCS15_PasswordAuthenticationObject(tlv)
            Create a Password Authentication Object
 
Method Summary
 String getPwdFlagsAsString()
           Gets the password flags as string of concatenated flags.
 String getPwdTypeAsString()
           Gets the password type.
 String toString()
           Convert the object to a human readable string

Field Detail

maxLength

Object maxLength

minLength

Object minLength

pwdFlags

Object pwdFlags

pwdReference

Object pwdReference

pwdType

Object pwdType

storedLength

Object storedLength

Constructor Detail

PKCS15_PasswordAuthenticationObject

PKCS15_PasswordAuthenticationObject(tlv)

Method Detail

getPwdFlagsAsString

String getPwdFlagsAsString()

getPwdTypeAsString

String getPwdTypeAsString()

toString

String toString()


Documentation generated by JSDoc on Tue Apr 15 22:10:49 2025