PKCS12PasswordToBytes

converts a password to a byte array according to the scheme in PKCS12 (unicode, big endian, 2 zero pad bytes at the end).

@safe pure nothrow
ubyte[]
PKCS12PasswordToBytes
(
in char[] password
)

Return Value

Type: ubyte[]

a byte array representing the password.

Meta