Searched refs:GTException (Results 1 – 25 of 46) sorted by relevance
12
88 * @throws GTException95 throw new GTException("parameter hashAlgorithm must not be empty");99 throw new GTException("parameter hashAlgorithm must be an instance of GTHashAlgorithm");109 …throw new GTException("Unable to init GTDataHash with algorithm: {$this->hashAlgorithm->getName()}…115 throw new GTException("hash must be an array of bytes");119 … throw new GTException("hash length does not match with that defined in hash algorithm");131 * @throws GTException138 throw new GTException("hash calculator already closed");142 throw new GTException("parameter bytes must not be empty");148 throw new GTException("hash update failed with unknown error");[all …]
197 * @throws GTException213 … throw new GTException("Invalid signerInfos size: " . count($signedData->getSignerInfos()));220 throw new GTException("Missing signerInfo.sid");227 throw new GTException("Missing signerInfo.sid.issuerAndSerialNumber");232 …throw new GTException("Unsupported digestAlgorithm: {$signerInfo->getDigestAlgorithm()->getAlgorit…237 …throw new GTException("Unsupported signatureAlgorithm: {$signerInfo->getSignatureAlgorithm()->getA…243 throw new GTException("Signed attributes missing");247 throw new GTException("Signed attributes invalid size: " . count($signedAttributes));254 … throw new GTException("Expecting content-type signedAttr, but found: " . $contentType->getType());258 …throw new GTException("Expecting message-digest signedAttr, but found: " . $messageDigest->getType…[all …]
76 * @throws GTException82 throw new GTException("Parameter bytes is required");89 throw new GTException("Invalid publications file length: " + count($this->content));96 throw new GTException("Unsupported publications file version: " . $version);103 throw new GTException("Invalid publications block offset: " . $publicationBlockBegin);113 throw new GTException("Invalid publications block offset: " . $publicKeyBlockBegin);123 …throw new GTException("Invalid publication reference block offset: " . $publicationReferenceBlockB…130 throw new GTException("Invalid signature block offset: " . $signatureBlockBegin);305 * @throws GTException314 throw new GTException("publicKey must be an instance of GTDataHash");[all …]
125 * @throws GTException if there is no algorithm with the given name.131 throw new GTException("parameter name must not be empty");147 throw new GTException("Unsupported hash algorithm name: {$name}");155 * @throws GTException if there is no algorithm with the given OID162 throw new GTException("parameter oid must not be empty");171 throw new GTException("Unsupported hash algorithm oid: {$oid}");179 * @throws GTException if there is no algorithm with the given GTID.195 throw new GTException("Unsupported hash algorithm gtid: {$gtid}");
35 * @throws GTException59 throw new GTException("Invalid timestamp: no certificates");87 * @throws GTException109 … throw new GTException("Unable to verify timeSignature that is not extended with publication");121 * @throws GTException157 throw new GTException("Invalid signed attributes: null");190 * @throws GTException200 throw new GTException("Parameter messageImprint is required");245 } catch (GTException $e) {290 * @throws GTException[all …]
78 * @throws GTException when the result is too big to fit into {@code int}96 throw new GTException("Integer overflow");112 * @throws GTException122 throw new GTException("parameter file is required");126 throw new GTException("parameter bytes is required");130 throw new GTException("parameter bytes must be an array");136 throw new GTException("Unable to open file {$file} for writing");140 throw new GTException("Unable to write to bytes to file {$file}");144 throw new GTException("Unable to close file after writing {$file}");153 * @throws GTException[all …]
50 * @throws GTException66 throw new GTException("The size of the encoding alphabet is not a power of 2");104 throw new GTException("The padding character appears in the encoding alphabet");116 * @throws GTException127 throw new GTException("parameter bytes is required");131 throw new GTException("parameter bytes must be an array of bytes");146 throw new GTException("parameter offset out of bounds");150 throw new GTException("parameter length out of bounds");162 … throw new GTException("parameter separator contains characters from the encoding alphabet");219 * @throws GTException[all …]
35 * @throws GTException42 throw new GTException("Unable to encode object that is not DEREncodable");108 * @throws GTException115 throw new GTException("parameter bytes is required");122 throw new GTException("Invalid DER stream, not enough bytes");126 throw new GTException("Invalid DER stream, too many trailing bytes");138 * @throws GTException145 throw new GTException("parameter bytes must be an array of bytes");149 throw new GTException("Invalid DER stream, not enough bytes to decode length");155 throw new GTException("indefinite length encoding not allowed for DER");[all …]
74 * @throws GTException81 throw new GTException("Expecting an ASN1Tag");85 throw new GTException("Unknown TAG value: {$object->getTagValue()}");95 * @throws GTException107 throw new GTException("[0] not implemented");116 throw new GTException("[3] not implemented");119 throw new GTException("[4] not implemented");122 throw new GTException("[5] not implemented");128 throw new GTException("[7] not implemented");134 throw new GTException("Unknown TAG value {$this->object->getTagValue()}");
47 * @throws GTException60 …throw new GTException("paramater data must be an array of bytes or an instance of ASN1DEREncodable…118 throw new GTException("Parameter data is required");122 throw new GTException("Parameter sign is required");180 * @throws GTException208 throw new GTException("Specified cainfo file does not exist: {$cainfo}");214 throw new GTException("Invalid cainfo specified: " . $cainfo);230 * @throws GTException237 throw new GTException("Parameter pkey must be a valid resource of type OpenSSL key");262 * @throws GTException[all …]
54 * @throws GTException61 throw new GTException("Expecting an ASN1Sequence");67 throw new GTException("Invalid sequence size: {$size}");73 throw new GTException("Expecting an ASN1ObjectId");83 throw new GTException("Expecting an ASN1OctetString");94 throw new GTException("Expecting an ASN1Boolean");102 throw new GTException("Expecting an ASN1OctetString");108 throw new GTException("Invalid sequence size: {$size}");
51 * @throws GTException58 throw new GTException("object must be an instance of ASN1Sequence");62 throw new GTException("sequence must contain at least 1 object");66 throw new GTException("sequence must not contain more than 2 objects");70 throw new GTException("parameters not implemented");76 throw new GTException("algorithm must be an instance of ASN1ObjectId");
56 * @throws GTException63 throw new GTException("Expecting an ASN1Sequence");67 throw new GTException("Invalid number of elements in sequence");77 throw new GTException("Unexpected ASN1Integer: {$item->getValue()}");81 throw new GTException("Unexpected ASN1Integer: {$item->getValue()}");95 throw new GTException("Unexpected TAG value: 0");101 throw new GTException("Expecting an ASN1Integer");105 … throw new GTException("Invalid value for millis: {$millis->getValue()}");109 … throw new GTException("Invalid value for millis: {$millis->getValue()}");121 throw new GTException("Unexpected TAG value: 1");[all …]
56 * @throws GTException63 throw new GTException("object must be an instance of ASN1Sequence");67 throw new GTException("object must have the size of 2");76 throw new GTException("Expecting an ASN1OctetString");104 * @throws GTException111 throw new GTException("hashAlgorithm must be an instance of X509AlgorithmIdentifier");129 * @throws GTException136 throw new GTException("hashedMessage must be an array of bytes");
54 * @throws GTException61 throw new GTException("object must be an instance of ASN1Sequence");65 throw new GTException("invalid sequence size");78 throw new GTException("timestamp token is missing");89 throw new GTException("unexpected timestamp token");94 throw new GTException("invalid status code: {$code}");
75 * @throws GTException82 throw new GTException("Expecting an ASN1Sequence");88 throw new GTException("Invalid sequence size: {$size}");94 throw new GTException("Expecting an ASN1Integer");100 throw new GTException("Invalid version: {$this->version}");106 throw new GTException("Expecting an ASN1ObjectId");119 throw new GTException("Expecting an ASN1Integer");127 throw new GTException("Expecting an ASN1GeneralizedTime");188 … throw new GTException("Unknown critical extension present: {$extension->getId()}");196 throw new GTException("Unknown TAG in TSTINFO: " . $item->getTagValue());[all …]
67 * @throws GTException74 throw new GTException("Expecting an ASN1Sequence");80 throw new GTException("Invalid sequence size: {$size}");86 throw new GTException("Expecting an ASN1Integer");92 throw new GTException("Invalid version: {$this->version}");98 throw new GTException("Expecting an ASN1Set");134 throw new GTException("Certificates size: 0");140 … throw new GTException("Certificate should be encoded as an ASN1Sequence");144 throw new GTException("Certificate content missing");156 throw new GTException("Certificate revocation lists not implemented");[all …]
55 * @throws GTException62 throw new GTException("Expecting an ASN1Sequence");66 throw new GTException("Invalid sequence size: {$object->getObjectCount()}");72 throw new GTException("Expecting an ASN1ObjectId");82 throw new GTException("Expecting an ASN1Tag");86 throw new GTException("Unexpected tag value: {$tag->getTagValue()}");121 * @throws GTException127 throw new GTException("Content missing");131 throw new GTException("Invalid contentType for TSTInfo: {$this->contentType}");
58 * @throws GTException65 throw new GTException("Expecting an ASN1Sequence");71 throw new GTException("Invalid sequence size: {$size}");77 throw new GTException("Expecting an ASN1ObjectId");87 throw new GTException("Expecting an ASN1Set");93 throw new GTException("Missing attribute values");
58 * @throws GTException65 throw new GTException("Expecting an ASN1Sequence");71 throw new GTException("Invalid sequence size: {$size}");77 throw new GTException("Expecting an ASN1Sequence");81 throw new GTException("Issuer content missing");89 throw new GTException("Expecting an ASN1Integer");
57 * @throws GTException64 throw new GTException("Expecting an ASN1Sequence");68 throw new GTException("Bad sequence size: {$object->getObjectCount()}");74 throw new GTException("Expecting an ASN1ObjectId");82 throw new GTException("Bad tag value for content: " . $tag->getTagValue());98 throw new GTException("Unsupported content type: {$this->contentType}");
64 * @throws GTException71 throw new GTException("Expecting an ASN1Sequence");77 throw new GTException("Invalid sequence size: {$size}");83 throw new GTException("Expecting an ASN1Integer for version");89 throw new GTException("Invalid version: {$this->version}");144 throw new GTException("Unsupported TAG value: " . $item->getTagValue());162 throw new GTException("Unexpected ASN.1 TYPE: " . get_class($item));168 throw new GTException("Signature missing");172 throw new GTException("Signature algorithm missing");
116 throw new GTException("BCMath extension is required by GuardTime PHP SDK");120 throw new GTException("CURL extension is required by GuardTime PHP SDK");124 throw new GTException("PHP version 5.3.0 or greater is required by GuardTime PHP SDK");128 throw new GTException("Hash extension is required by GuardTime PHP SDK");132 throw new GTException("OpenSSL extension is required by GuardTime PHP SDK");136 …throw new GTException("OpenSSL version 0.9.8 or later is reqquired by GuardTime PHP SDK, current: …
52 * @throws GTException59 throw new GTException("object must be an instance of ASN1Sequence");63 throw new GTException("invalid sequence size");76 throw new GTException("token is missing");82 throw new GTException("Unexpected tag value: " . $tag->getTagValue());93 throw new GTException("unexpected timestamp token");98 throw new GTException("invalid status code: {$code}");124 * @throws GTException
55 * @throws GTException62 throw new GTException("Expecting an ASN1Sequence");68 throw new GTException("Invalid sequence size: {$size}");74 throw new GTException("Expecting an ASN1Integer as version");80 throw new GTException("Invalid value for version: {$this->version}");91 throw new GTException("Expecting an ASN1OctetString as data");