1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
10 // ErrDecryption represents a failure to decrypt the input.
11 ErrDecryption = errors.New("pkcs12: decryption error, incorrect padding")
13 // ErrIncorrectPassword is returned when an incorrect password is detected.
14 // Usually, P12/PFX data is signed to be able to verify the password.
15 ErrIncorrectPassword = errors.New("pkcs12: decryption password incorrect")
18 // NotImplementedError indicates that the input is not currently supported.
19 type NotImplementedError string
21 func (e NotImplementedError) Error() string {
22 return "pkcs12: " + string(e)