func (m *MockKeystore) ImportKey(der []byte, kt kms.KeyType, kid string) (string, error) {
	if m.ImportKeyErr != nil {
		return "", m.ImportKeyErr
	}

	return m.ImportKeyID, nil
}
// ImportKey imports private key bytes (in DER format) of kt type into KMS and returns key ID.
ImportKey imports private key bytes (in DER format) of kt type into KMS and returns key ID.
// ImportKey imports private key bytes ( in DER format ) of kt type into KMS and returns key ID .
func (m *MockKeystore) ImportKey(der []byte, kt kms.KeyType, kid string) (string, error) {
	if m.ImportKeyErr != nil {
		return "", m.ImportKeyErr
	}
	return m.ImportKeyID, nil
}
func ( m * MockKeystore ) ImportKey ( der [ ] byte , kt kms . KeyType , kid string ) ( string , error ) { if m . ImportKeyErr != nil { return " " , m . ImportKeyErr } return m . ImportKeyID , nil }
ImportKey imports private key bytes (in DER format) of kt type into KMS and returns key ID.
ImportKey imports private key bytes ( in DER format ) of kt type into KMS and returns key ID .