Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CertificateInformation ¶
type JKSKeystoreDecoder ¶
type JKSKeystoreDecoder struct { }
func (JKSKeystoreDecoder) Decode ¶
func (d JKSKeystoreDecoder) Decode(data []byte, password, alias, keyPassword string) (privateKey interface{}, certificate *x509.Certificate, err error)
func (JKSKeystoreDecoder) IsInvalidCredentialsError ¶
func (d JKSKeystoreDecoder) IsInvalidCredentialsError(err error) bool
type PKCS12KeystoreDecoder ¶
type PKCS12KeystoreDecoder struct { }
func (PKCS12KeystoreDecoder) Decode ¶
func (d PKCS12KeystoreDecoder) Decode(data []byte, password, alias, keyPassword string) (privateKey interface{}, certificate *x509.Certificate, err error)
func (PKCS12KeystoreDecoder) IsInvalidCredentialsError ¶
func (d PKCS12KeystoreDecoder) IsInvalidCredentialsError(err error) bool
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func NewDefaultReader ¶
func NewDefaultReader() Reader
func (Reader) ReadCertificateInformation ¶
func (p Reader) ReadCertificateInformation(data []byte, password, alias, keyPassword string) (*CertificateInformation, error)
Click to show internal directories.
Click to hide internal directories.