type golang.org/x/crypto/openpgp/errors.StructuralError

43 uses

	golang.org/x/crypto/openpgp/errors (current package)
		errors.go#L14: type StructuralError string
		errors.go#L16: func (s StructuralError) Error() string {

	golang.org/x/crypto/openpgp
		keys.go#L265: 			} else if _, ok := err.(errors.StructuralError); ok {
		keys.go#L327: 			return nil, errors.StructuralError("first packet was not a public/private key")
		keys.go#L333: 		return nil, errors.StructuralError("primary key cannot be used for signatures")
		keys.go#L385: 		return nil, errors.StructuralError("entity without any identities")
		keys.go#L394: 			return nil, errors.StructuralError("revocation signature signed by alternate key")
		keys.go#L425: 				return errors.StructuralError("user ID self-signature invalid: " + err.Error())
		keys.go#L447: 			return errors.StructuralError("subkey signature invalid: " + err.Error())
		keys.go#L457: 			return errors.StructuralError("subkey signature with wrong type")
		keys.go#L461: 			return errors.StructuralError("subkey signature invalid: " + err.Error())
		keys.go#L476: 		return errors.StructuralError("subkey packet not followed by signature")
		read.go#L136: 				return nil, errors.StructuralError("key material not followed by encrypted message")
		read.go#L343: 			scr.md.SignatureError = errors.StructuralError("LiteralData not followed by Signature")
		read.go#L383: 				return nil, errors.StructuralError("signature doesn't have an issuer")
		read.go#L393: 			return nil, errors.StructuralError("non signature packet found")

	golang.org/x/crypto/openpgp/armor
		armor.go#L38: var ArmorCorrupt error = errors.StructuralError("armor invalid")

	golang.org/x/crypto/openpgp/packet
		encrypted_key.go#L102: 		return errors.StructuralError("EncryptedKey checksum incorrect")
		opaque.go#L149: 	err = errors.StructuralError("subpacket truncated")
		packet.go#L202: 		err = errors.StructuralError("tag byte does not have MSB set")
		private_key.go#L255: 			return errors.StructuralError("truncated private key data")
		private_key.go#L261: 			return errors.StructuralError("private key checksum failure")
		private_key.go#L266: 			return errors.StructuralError("truncated private key data")
		private_key.go#L274: 			return errors.StructuralError("private key checksum failure")
		public_key.go#L625: 			return errors.StructuralError("signing subkey is missing cross-signature")
		public_key.go#L631: 			return errors.StructuralError("error while hashing for cross-signature: " + err.Error())
		public_key.go#L634: 			return errors.StructuralError("error while verifying cross-signature: " + err.Error())
		public_key_v3.go#L101: 		return errors.StructuralError("v3 public key modulus is too short")
		reader.go#L60: 		return errors.StructuralError("too many layers of packets")
		signature.go#L187: 		err = errors.StructuralError("no creation time in signature")
		signature.go#L244: 		err = errors.StructuralError("zero length signature subpacket")
		signature.go#L254: 			err = errors.StructuralError("signature creation time in non-hashed area")
		signature.go#L258: 			err = errors.StructuralError("signature creation time not four bytes")
		signature.go#L269: 			err = errors.StructuralError("expiration subpacket with bad length")
		signature.go#L280: 			err = errors.StructuralError("key expiration subpacket with bad length")
		signature.go#L295: 			err = errors.StructuralError("issuer subpacket with bad length")
		signature.go#L320: 			err = errors.StructuralError("primary user id subpacket with bad length")
		signature.go#L333: 			err = errors.StructuralError("empty key flags subpacket")
		signature.go#L355: 			err = errors.StructuralError("empty revocation reason subpacket")
		signature.go#L372: 			err = errors.StructuralError("Cannot have multiple embedded signatures")
		signature.go#L383: 			return nil, errors.StructuralError("cross-signature has unexpected type " + strconv.Itoa(int(sigType)))
		signature.go#L394: 	err = errors.StructuralError("signature subpacket truncated")
		symmetric_key_encrypted.go#L92: 		return nil, cipherFunc, errors.StructuralError("length of decrypted key (" + strconv.Itoa(l) + ") " +