選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

24 行
751 B

  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.
  4. package pkcs12
  5. import "errors"
  6. var (
  7. // ErrDecryption represents a failure to decrypt the input.
  8. ErrDecryption = errors.New("pkcs12: decryption error, incorrect padding")
  9. // ErrIncorrectPassword is returned when an incorrect password is detected.
  10. // Usually, P12/PFX data is signed to be able to verify the password.
  11. ErrIncorrectPassword = errors.New("pkcs12: decryption password incorrect")
  12. )
  13. // NotImplementedError indicates that the input is not currently supported.
  14. type NotImplementedError string
  15. func (e NotImplementedError) Error() string {
  16. return "pkcs12: " + string(e)
  17. }